Commit c4b74c20 authored by Jim Blandy's avatar Jim Blandy
Browse files

* man.el (Man-find-section): HP/UX man pages have section names

indented by a single space; recognize them.
parent 95d19fad
......@@ -655,7 +655,7 @@ The following key bindings are currently in effect in the buffer:
Returns t if section is found, nil otherwise."
(let ((curpos (point)))
(goto-char (point-min))
(if (re-search-forward (concat "^" section) (point-max) t)
(if (re-search-forward (concat "^\\s-?" section) (point-max) t)
(progn (beginning-of-line) t)
(goto-char curpos)
nil)
......
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