Commit 6bd50be3 authored by Christer Ekholm's avatar Christer Ekholm

(kom-apropos): Use save-selected-window instead of save-window-excursion.

To make the buffer *LysKOM-Apropos* visible.
parent a4b10328
2014-06-21 Christer Ekholm <che@chrekh.se>
* commands2.el (kom-apropos): Use save-selected-window instead of
save-window-excursion, to make the buffer *LysKOM-Apropos*
visible.
* elib-string.el (elib-string-expand-newtext): Renamed variables
newtext and string to elib-newtext and elib-string, to silence
warnings about "var `xxx' lacks a prefix" in emacs-24.
......
......@@ -3599,7 +3599,7 @@ This command is intended primarily for developers and advanced users."
(message "Searching for %s...formatting..." re)
(if result
(let ((buffer (get-buffer-create "*LysKOM-Apropos*")))
(save-window-excursion
(save-selected-window
(let ((inhibit-read-only t))
(set-buffer buffer)
(help-mode)
......
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