* lisp/info.el (Info-search): Don't deactivate mark when landed in same node
(bug#45839)
This commit is contained in:
parent
c83590b121
commit
53514e77a5
1 changed files with 1 additions and 1 deletions
|
@ -1973,7 +1973,6 @@ If DIRECTION is `backward', search in the reverse direction."
|
|||
"Regexp search%s" (car Info-search-history)
|
||||
(if case-fold-search "" " case-sensitively"))
|
||||
nil 'Info-search-history)))
|
||||
(deactivate-mark)
|
||||
(when (equal regexp "")
|
||||
(setq regexp (car Info-search-history)))
|
||||
(when regexp
|
||||
|
@ -2066,6 +2065,7 @@ If DIRECTION is `backward', search in the reverse direction."
|
|||
(< found opoint-max))
|
||||
;; Search landed in the same node
|
||||
(goto-char found)
|
||||
(deactivate-mark)
|
||||
(widen)
|
||||
(goto-char found)
|
||||
(save-match-data (Info-select-node)))
|
||||
|
|
Loading…
Add table
Reference in a new issue