aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-29 18:57:15 +0000
committerRichard M. Stallman1995-06-29 18:57:15 +0000
commite579232c977b428716a8f117b8d57369ba8aee15 (patch)
treefee9cc65dd4d41e7b4f4e4a80862778ff6ef287f
parent71dca3e3da179d831d3a9426d3ee208cc783b6a4 (diff)
downloademacs-e579232c977b428716a8f117b8d57369ba8aee15.tar.gz
emacs-e579232c977b428716a8f117b8d57369ba8aee15.zip
(Info-goto-node, Info-search):
In Transient Mark mode, deactivate the mark.
-rw-r--r--lisp/info.el2
1 files changed, 2 insertions, 0 deletions
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-mode-map>\\[Info-exit] exits Emacs itself."
600 (if trim (setq filename (substring filename 0 trim)))) 600 (if trim (setq filename (substring filename 0 trim))))
601 (let ((trim (string-match "\\s *\\'" nodename))) 601 (let ((trim (string-match "\\s *\\'" nodename)))
602 (if trim (setq nodename (substring nodename 0 trim)))) 602 (if trim (setq nodename (substring nodename 0 trim))))
603 (if transient-mark-mode (deactivate-mark))
603 (Info-find-node (if (equal filename "") nil filename) 604 (Info-find-node (if (equal filename "") nil filename)
604 (if (equal nodename "") "Top" nodename)))) 605 (if (equal nodename "") "Top" nodename))))
605 606
@@ -657,6 +658,7 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
657(defun Info-search (regexp) 658(defun Info-search (regexp)
658 "Search for REGEXP, starting from point, and select node it's found in." 659 "Search for REGEXP, starting from point, and select node it's found in."
659 (interactive "sSearch (regexp): ") 660 (interactive "sSearch (regexp): ")
661 (if transient-mark-mode (deactivate-mark))
660 (if (equal regexp "") 662 (if (equal regexp "")
661 (setq regexp Info-last-search) 663 (setq regexp Info-last-search)
662 (setq Info-last-search regexp)) 664 (setq Info-last-search regexp))