mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
(Info-extract-menu-node-name): Collapse multiple spaces.
This commit is contained in:
parent
f4c8ded2b0
commit
2e52ff59e5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user