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
ab5e579a
Commit
ab5e579a
authored
Aug 25, 2003
by
John Paul Wallington
Browse files
(Man-default-man-entry): Don't whizz past the section number
before looking for it.
parent
37fdcfbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/man.el
lisp/man.el
+0
-1
No files found.
lisp/ChangeLog
View file @
ab5e579a
2003-08-25 John Paul Wallington <jpw@gnu.org>
* man.el (Man-default-man-entry): Don't whizz past the section
number before looking for it.
2003-08-24 Nick Roberts <nick@nick.uklinux.net>
* progmodes/gud.el (gud-display-line): Don't set window-point if
...
...
lisp/man.el
View file @
ab5e579a
...
...
@@ -574,7 +574,6 @@ This guess is based on the text surrounding the cursor."
(
setq
word
(
substring
word
0
(
match-beginning
0
))))
;; If looking at something like ioctl(2) or brc(1M), include the
;; section number in the returned value. Remove text properties.
(
forward-word
1
)
(
concat
word
(
if
(
looking-at
(
concat
"[ \t]*([ \t]*\\("
Man-section-regexp
"\\)[ \t]*)"
))
...
...
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