summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2003-08-25 03:50:47 +0000
committerJohn Paul Wallington <jpw@pobox.com>2003-08-25 03:50:47 +0000
commitab5e579a46a6a9b55bdacf9444711319f07cd165 (patch)
tree307031fc264cb31d7e6096ee84929d907322e2b9 /lisp/man.el
parent37fdcfbc45e639fdde0f53b71225e42565f4fb1e (diff)
downloademacs-ab5e579a46a6a9b55bdacf9444711319f07cd165.tar.gz
(Man-default-man-entry): Don't whizz past the section number
before looking for it.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index a3085e41501..1de5fe83844 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -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]*)"))