(Info-extract-menu-node-name): Collapse multiple spaces.
This commit is contained in:
parent
f4c8ded2b0
commit
2e52ff59e5
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue