Commit e709e39d authored by Chong Yidong's avatar Chong Yidong
Browse files

* man.el (Man-goto-section): Signal error if section not found (Bug#5317).

parent 8fe7200c
2010-01-09 Chong Yidong <cyd@stupidchicken.com>
* man.el (Man-goto-section): Signal error if the section is not
found (Bug#5317).
2010-01-09 Juanma Barranquero <lekktu@gmail.com> 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
* vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
......
...@@ -1500,7 +1500,9 @@ Returns t if section is found, nil otherwise." ...@@ -1500,7 +1500,9 @@ Returns t if section is found, nil otherwise."
(string= chosen "")) (string= chosen ""))
default default
chosen))) chosen)))
(Man-find-section (aheadsym Man-sections-alist))) (unless (Man-find-section (aheadsym Man-sections-alist))
(error "Section not found")))
(defun Man-goto-see-also-section () (defun Man-goto-see-also-section ()
"Move point to the \"SEE ALSO\" section. "Move point to the \"SEE ALSO\" section.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment