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
2e52ff59
Commit
2e52ff59
authored
Mar 06, 1995
by
Richard M. Stallman
Browse files
(Info-extract-menu-node-name): Collapse multiple spaces.
parent
f4c8ded2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lisp/info.el
lisp/info.el
+3
-0
No files found.
lisp/info.el
View file @
2e52ff59
...
...
@@ -858,6 +858,9 @@ NAME may be an abbreviation of the reference name."
(
Info-following-node-name
(
if
multi-line
"^.,\t"
"^.,\t\n"
))))
(
while
(
setq
i
(
string-match
"\n"
str
i
))
(
aset
str
i
?\
))
;; Collapse multiple spaces.
(
while
(
string-match
" +"
str
)
(
setq
str
(
replace-match
" "
t
t
str
)))
str
))
;; No one calls this.
...
...
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