+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\e,Ad\e(Brv <jan.h.d@swipnet.se>
* custom.el (defface): Document that type can have value gtk.
;; 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")))