1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Leave other windows unchanged, use search instead of re-search

* lisp/net/newst-backend.el (newsticker-customize-feed): Leave other
  windws unchanged.  Use search instead of re-search.
This commit is contained in:
Ulf Jasper 2021-02-23 19:31:32 +01:00
parent 5ae0289464
commit 7271b11457

View File

@ -651,8 +651,7 @@ If URL is nil it is searched at point."
(list (completing-read "Name of feed or group to edit: "
(mapcar #'car newsticker-url-list))))
(customize-variable 'newsticker-url-list)
(delete-other-windows)
(when (re-search-forward (concat "Label: " feed-name) nil t)
(when (search-forward (concat "Label: " feed-name) nil t)
(forward-line -1)))
(defun newsticker-customize ()