From ab5e579a46a6a9b55bdacf9444711319f07cd165 Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Mon, 25 Aug 2003 03:50:47 +0000 Subject: [PATCH] (Man-default-man-entry): Don't whizz past the section number before looking for it. --- lisp/ChangeLog | 5 +++++ lisp/man.el | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0381005285a..dea0810ed7f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-08-25 John Paul Wallington + + * man.el (Man-default-man-entry): Don't whizz past the section + number before looking for it. + 2003-08-24 Nick Roberts * progmodes/gud.el (gud-display-line): Don't set window-point if 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]*)")) -- 2.11.4.GIT