diff options
| author | Jim Blandy <jimb@redhat.com> | 1991-12-21 09:14:03 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1991-12-21 09:14:03 +0000 |
| commit | aa228418e97d3b6aada0da50ee0419c5c23f726c (patch) | |
| tree | 54f5de32b8b44b028fc96ebda21b9d11f96916fe /lisp/man.el | |
| parent | 0231f2dce81e3f5118c5c2eecec6081ba888e03a (diff) | |
| download | emacs-aa228418e97d3b6aada0da50ee0419c5c23f726c.tar.gz | |
*** empty log message ***
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) |
