diff options
author | Ulf Jasper <ulf.jasper@web.de> | 2021-02-23 19:31:32 +0100 |
---|---|---|
committer | Ulf Jasper <ulf.jasper@web.de> | 2021-02-23 19:31:32 +0100 |
commit | 7271b11457507d490bcd42c634b56bfd2d716c78 (patch) | |
tree | 9e1242032427e1dd4904fc1eff3d2baea4f8859b /lisp/net/newst-backend.el | |
parent | 5ae02894640bc7bd5a88610e11c7bdce9040c3fe (diff) | |
download | emacs-7271b11457507d490bcd42c634b56bfd2d716c78.tar.gz |
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.
Diffstat (limited to 'lisp/net/newst-backend.el')
-rw-r--r-- | lisp/net/newst-backend.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el index c2809ea9181..f5b47610787 100644 --- a/lisp/net/newst-backend.el +++ b/lisp/net/newst-backend.el @@ -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 () |