From: Richard M. Stallman Date: Thu, 29 Jun 1995 18:57:15 +0000 (+0000) Subject: (Info-goto-node, Info-search): X-Git-Tag: emacs-19.34~3426 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e579232c977b428716a8f117b8d57369ba8aee15;p=emacs.git (Info-goto-node, Info-search): In Transient Mark mode, deactivate the mark. --- 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))