diff options
Diffstat (limited to 'lisp/man.el')
| -rw-r--r-- | lisp/man.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el index 8f517627e08..790c8a0c1bd 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -136,6 +136,16 @@ where SECTION is the desired section of the manual, as in \"tty(4)\"." (while (re-search-forward "\e[789]" nil t) (replace-match "")) + ;; Convert o^H+ into o. + (goto-char (point-min)) + (while (re-search-forward "o\010\\+" nil t) + (replace-match "o")) + + ;; Nuke the dumb reformatting message + (goto-char (point-min)) + (while (re-search-forward "Reformatting page. Wait... done\n\n" nil t) + (replace-match "")) + ;; Crunch blank lines (goto-char (point-min)) (while (re-search-forward "\n\n\n\n*" nil t) |
