emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3f30d98: Repair change to compilation-context-lines


From: Mattias Engdegård
Subject: [Emacs-diffs] master 3f30d98: Repair change to compilation-context-lines (bug#36832)
Date: Wed, 4 Sep 2019 08:39:09 -0400 (EDT)

branch: master
commit 3f30d98af9401562c68f3a0388cf16593eb572e5
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    Repair change to compilation-context-lines (bug#36832)
    
    * lisp/progmodes/compile.el (compilation-set-window):
    Restore proper behaviour when compilation-context-lines is nil,
    which is the default.
---
 lisp/progmodes/compile.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index b7bd224..c1f23b1 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2600,7 +2600,8 @@ column zero points to the current message."
                                (goto-char mk)
                               (beginning-of-line 1)
                               (point)))
-         (set-window-point w mk))))
+         (set-window-point w mk))
+        (t (set-window-point w mk))))
 
 (defvar-local compilation-arrow-overlay nil
   "Overlay with the before-string property of `overlay-arrow-string'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]