aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-08-07 11:31:39 +0000
committerDave Love1999-08-07 11:31:39 +0000
commit85960a7cdad09f13ed28d25ac30a6b8e577f54ca (patch)
treed7a28fb1a2318ca30c8a29d625325df63c81c4a4
parente4c082be5e69d70a615fea0cf28fea0b42514fe1 (diff)
downloademacs-85960a7cdad09f13ed28d25ac30a6b8e577f54ca.tar.gz
emacs-85960a7cdad09f13ed28d25ac30a6b8e577f54ca.zip
(Man-softhyphen-to-minus): Revert last change.
-rw-r--r--lisp/man.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 4bfbeed2ad0..27860b5c0a2 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -661,12 +661,12 @@ See the variable `Man-notify-method' for the different notification behaviors."
661 661
662(defun Man-softhyphen-to-minus () 662(defun Man-softhyphen-to-minus ()
663 ;; \255 is some kind of dash in Latin-1. 663 ;; \255 is some kind of dash in Latin-1.
664 (unless (eq t (compare-strings "latin-" 0 nil 664 (goto-char (point-min))
665 current-language-environment 0 6 t)) 665 (if enable-multibyte-characters
666 (goto-char (point-min)) 666 (while (search-forward "\255" nil t)
667 (while (and (skip-chars-forward "^\255") (not (eobp))) 667 (if (= (preceding-char) ?\255)
668 (delete-char 1) 668 (replace-match "-")))
669 (insert ?-)))) 669 (while (search-forward "\255" nil t) (replace-match "-"))))
670 670
671(defun Man-fontify-manpage () 671(defun Man-fontify-manpage ()
672 "Convert overstriking and underlining to the correct fonts. 672 "Convert overstriking and underlining to the correct fonts.