diff options
| author | Richard M. Stallman | 1995-11-24 22:19:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-24 22:19:32 +0000 |
| commit | 86884919ffde07ed3b6816d7030c66e25de11b6b (patch) | |
| tree | ad3107e71a6a14cce1d81c05fa479d3437ac08b7 | |
| parent | 23a5869252a584b89cd5ec68d66a287d3df58f69 (diff) | |
| download | emacs-86884919ffde07ed3b6816d7030c66e25de11b6b.tar.gz emacs-86884919ffde07ed3b6816d7030c66e25de11b6b.zip | |
(Man-fontify-manpage, Man-cleanup-manpage):
Convert \255 to a dash.
| -rw-r--r-- | lisp/man.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el index 174a72455ec..4a3afd45d73 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -624,6 +624,9 @@ Same for the ANSI bold and normal escape sequences." | |||
| 624 | (while (re-search-forward "[-|]\\(\b[-|]\\)+" nil t) | 624 | (while (re-search-forward "[-|]\\(\b[-|]\\)+" nil t) |
| 625 | (replace-match "+") | 625 | (replace-match "+") |
| 626 | (put-text-property (1- (point)) (point) 'face 'bold)) | 626 | (put-text-property (1- (point)) (point) 'face 'bold)) |
| 627 | ;; \255 is some kind of dash in Latin-1. | ||
| 628 | (goto-char (point-min)) | ||
| 629 | (while (search-forward "\255" nil t) (replace-match "-")) | ||
| 627 | (message "%s man page made up" Man-arguments)) | 630 | (message "%s man page made up" Man-arguments)) |
| 628 | 631 | ||
| 629 | (defun Man-cleanup-manpage () | 632 | (defun Man-cleanup-manpage () |
| @@ -647,6 +650,9 @@ Same for the ANSI bold and normal escape sequences." | |||
| 647 | )) | 650 | )) |
| 648 | (goto-char (point-min)) | 651 | (goto-char (point-min)) |
| 649 | (while (re-search-forward "[-|]\\(\b[-|]\\)+" nil t) (replace-match "+")) | 652 | (while (re-search-forward "[-|]\\(\b[-|]\\)+" nil t) (replace-match "+")) |
| 653 | ;; \255 is some kind of dash in Latin-1. | ||
| 654 | (goto-char (point-min)) | ||
| 655 | (while (search-forward "\255" nil t) (replace-match "-")) | ||
| 650 | (message "%s man page cleaned up" Man-arguments)) | 656 | (message "%s man page cleaned up" Man-arguments)) |
| 651 | 657 | ||
| 652 | (defun Man-bgproc-sentinel (process msg) | 658 | (defun Man-bgproc-sentinel (process msg) |