Commit 0e52264f authored by Daniel Pfeiffer's avatar Daniel Pfeiffer

(compilation-set-window-height): Use save-excursion to protect against misplaced marker.

parent f87899eb
2004-05-12 Daniel Pfeiffer <occitan@esperanto.org>
* progmodes/compile.el (compilation-set-window-height): Use
save-excursion to protect against misplaced marker.
2004-05-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* custom.el (defface): Document that type can have value gtk.
......
......@@ -990,8 +990,9 @@ exited abnormally with code %d\n"
;; buffer, which might not be the same as the selected window's buffer.
(save-current-buffer
(save-selected-window
(select-window window)
(enlarge-window (- height (window-height))))))))
(save-excursion
(select-window window)
(enlarge-window (- height (window-height)))))))))
(defvar compilation-menu-map
(let ((map (make-sparse-keymap "Errors")))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment