From 7271b11457507d490bcd42c634b56bfd2d716c78 Mon Sep 17 00:00:00 2001 From: Ulf Jasper Date: Tue, 23 Feb 2021 19:31:32 +0100 Subject: [PATCH] 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. --- lisp/net/newst-backend.el | 3 +-- 1 file changed, 1 insertion(+), 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 ()