Commit 00b05377 authored by Christer Ekholm's avatar Christer Ekholm

(kom-apropos): Move to (point-min) before (display-buffer).

Or else the buffer shows the cursor at the end when the buffer becomes
visible.
parent 6bd50be3
......@@ -3,6 +3,9 @@
* commands2.el (kom-apropos): Use save-selected-window instead of
save-window-excursion, to make the buffer *LysKOM-Apropos*
visible.
(kom-apropos): Move to (point-min) before (display-buffer), or
else the buffer shows the cursor at the end when the buffer
becomes visible.
* elib-string.el (elib-string-expand-newtext): Renamed variables
newtext and string to elib-newtext and elib-string, to silence
......
......@@ -3614,8 +3614,8 @@ get full documentation.
(lyskom-apropos-insert el))
(toggle-read-only 1))
(message "Searching for %s...formatting...done" re)
(display-buffer buffer)
(goto-char (point-min))))
(goto-char (point-min))
(display-buffer buffer)))
(message "Nothing found that matches \"%s\"" re))))
......
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