aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-11 17:52:59 +0000
committerRichard M. Stallman1993-06-11 17:52:59 +0000
commit4cd88e9c9454547254b953b7fdba221138271b0a (patch)
tree6c5f8dc2a753863897e37155403b62745da8f1e6
parentc5074d8cad1f82ba7887322bf85f52589c7cbede (diff)
downloademacs-4cd88e9c9454547254b953b7fdba221138271b0a.tar.gz
emacs-4cd88e9c9454547254b953b7fdba221138271b0a.zip
(Man-filter-list): Add an element for X man pages.
(Man-goto-page): Continue past errors in Man-build-references-alist.
-rw-r--r--lisp/man.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 26c3aa1400b..2b0f26e8bfe 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -139,6 +139,7 @@ the associated section number.")
139 "-e '/^[ \\t]*Hewlett-Packard[ \\t]*- [0-9]* -.*$/d'" 139 "-e '/^[ \\t]*Hewlett-Packard[ \\t]*- [0-9]* -.*$/d'"
140 "-e '/^ *Page [0-9]*.*(printed [0-9\\/]*)$/d'" 140 "-e '/^ *Page [0-9]*.*(printed [0-9\\/]*)$/d'"
141 "-e '/^Printed [0-9].*[0-9]$/d'" 141 "-e '/^Printed [0-9].*[0-9]$/d'"
142 "-e '/^[ \\t]*X Version 1[01].*Release [0-9]/d'"
142 "-e '/^Sun Microsystems.*Last change:/d'" 143 "-e '/^Sun Microsystems.*Last change:/d'"
143 "-e '/^Sun Release [0-9].*[0-9]$/d'" 144 "-e '/^Sun Release [0-9].*[0-9]$/d'"
144 "-e '/^\\n$/D'" 145 "-e '/^\\n$/D'"
@@ -731,7 +732,11 @@ background. Universal argument ARG is passed to Man-getpage-in-background."
731 (goto-char page-start) 732 (goto-char page-start)
732 (narrow-to-region page-start page-end) 733 (narrow-to-region page-start page-end)
733 (Man-build-section-alist) 734 (Man-build-section-alist)
734 (Man-build-references-alist) 735 ;; Don't let bugs in Man-build-references-alist
736 ;; interfere with ordinary use of this package.
737 (condition-case nil
738 (Man-build-references-alist)
739 (error))
735 (widen) 740 (widen)
736 (narrow-to-region page-start page-end) 741 (narrow-to-region page-start page-end)
737 (goto-char (point-min)))) 742 (goto-char (point-min))))