mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +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"))))
|
(Info-following-node-name (if multi-line "^.,\t" "^.,\t\n"))))
|
||||||
(while (setq i (string-match "\n" str i))
|
(while (setq i (string-match "\n" str i))
|
||||||
(aset str i ?\ ))
|
(aset str i ?\ ))
|
||||||
|
;; Collapse multiple spaces.
|
||||||
|
(while (string-match " +" str)
|
||||||
|
(setq str (replace-match " " t t str)))
|
||||||
str))
|
str))
|
||||||
|
|
||||||
;; No one calls this.
|
;; No one calls this.
|
||||||
|
Loading…
Reference in New Issue
Block a user