From e579232c977b428716a8f117b8d57369ba8aee15 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 29 Jun 1995 18:57:15 +0000 Subject: [PATCH] (Info-goto-node, Info-search): In Transient Mark mode, deactivate the mark. --- lisp/info.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/info.el b/lisp/info.el index 46c53a86ed8..d5a53fbcb9c 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -600,6 +600,7 @@ In standalone mode, \\\\[Info-exit] exits Emacs itself." (if trim (setq filename (substring filename 0 trim)))) (let ((trim (string-match "\\s *\\'" nodename))) (if trim (setq nodename (substring nodename 0 trim)))) + (if transient-mark-mode (deactivate-mark)) (Info-find-node (if (equal filename "") nil filename) (if (equal nodename "") "Top" nodename)))) @@ -657,6 +658,7 @@ In standalone mode, \\\\[Info-exit] exits Emacs itself." (defun Info-search (regexp) "Search for REGEXP, starting from point, and select node it's found in." (interactive "sSearch (regexp): ") + (if transient-mark-mode (deactivate-mark)) (if (equal regexp "") (setq regexp Info-last-search) (setq Info-last-search regexp)) -- 2.39.2