Commit 2e52ff59 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Info-extract-menu-node-name): Collapse multiple spaces.

parent f4c8ded2
......@@ -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)))
;; No one calls this.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment