summaryrefslogtreecommitdiff
path: root/lisp/=man.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1991-12-21 09:14:03 +0000
committerJim Blandy <jimb@redhat.com>1991-12-21 09:14:03 +0000
commit00ad2293c31faf8b94a445efcfc66861fa053fff (patch)
tree9d012e3dfe03fa3da395b3c53777968f455765ab /lisp/=man.el
parent7b717e2cc33168fd8c94d249b5d44be500998c77 (diff)
downloademacs-00ad2293c31faf8b94a445efcfc66861fa053fff.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/=man.el')
-rw-r--r--lisp/=man.el10
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)