Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e579232c
Commit
e579232c
authored
Jun 29, 1995
by
Richard M. Stallman
Browse files
(Info-goto-node, Info-search):
In Transient Mark mode, deactivate the mark.
parent
71dca3e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lisp/info.el
lisp/info.el
+2
-0
No files found.
lisp/info.el
View file @
e579232c
...
...
@@ -600,6 +600,7 @@ In standalone mode, \\<Info-mode-map>\\[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-mode-map>\\[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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment