aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/man.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/man.el b/lisp/man.el
index dcfab8d2035..50058d14269 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -650,9 +650,12 @@ This is necessary if one wants to dump man.el with Emacs."
650 (if Man-sed-script 650 (if Man-sed-script
651 (concat "-e '" Man-sed-script "'") 651 (concat "-e '" Man-sed-script "'")
652 "") 652 "")
653 ;; Use octal numbers. Otherwise, \032 (Ctrl-Z) would 653 (if (eq system-type 'darwin)
654 ;; suspend remote connections. 654 ;; macOS Sed doesn't support \o notation.
655 "-e '/^[\\o001-\\o032][\\o001-\\o032]*$/d'" 655 "-e '/^[[:cntrl:]][[:cntrl:]]*$/d'"
656 ;; Use octal numbers. Otherwise, \032 (Ctrl-Z) would
657 ;; suspend remote connections.
658 "-e '/^[\\o001-\\o032][\\o001-\\o032]*$/d'")
656 "-e '/\e[789]/s///g'" 659 "-e '/\e[789]/s///g'"
657 "-e '/Reformatting page. Wait/d'" 660 "-e '/Reformatting page. Wait/d'"
658 "-e '/Reformatting entry. Wait/d'" 661 "-e '/Reformatting entry. Wait/d'"