Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d801ac09
Commit
d801ac09
authored
Jun 11, 1993
by
Jim Blandy
Browse files
* man.el (manual-entry): Recognize the subject(section) syntax.
parent
c45a6306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lisp/man.el
lisp/man.el
+7
-0
No files found.
lisp/man.el
View file @
d801ac09
...
...
@@ -419,6 +419,13 @@ Universal argument ARG, is passed to Man-getpage-in-background."
(
if
(
string=
default-entry
""
)
(
error
"No man args given."
)
(
setq
man-args
default-entry
)))
;; Recognize the subject(section) syntax.
(
if
(
string-match
"^[ \t]*\\([^( \t]+\\)[ \t]*(\\([^)]+\\))[ \t]*$"
man-args
)
(
setq
man-args
(
concat
(
substring
man-args
(
match-beginning
2
)
(
match-end
2
))
" "
(
substring
man-args
(
match-beginning
1
)
(
match-end
1
)))))
(
if
Man-downcase-section-letters-p
(
setq
man-args
(
Man-downcase
man-args
)))
(
Man-getpage-in-background
man-args
(
consp
arg
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment