[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: man page not found
From: |
Michaël Cadilhac |
Subject: |
Re: man page not found |
Date: |
Wed, 09 May 2007 13:19:07 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> A Soare <address@hidden> writes:
>
>> 1. emacs -Q
>>
>> 2. man RET
>>
>> Manual entry: dlopen RET
>>
>> 3. goto bottom right to DLOPEN(3) and press using mouse on this link.
>
> Well, there's no DLOPEN manual. There's a dlopen one.
>
> The problem is just that there must be no link here. I'll see what
> I can do.
Does the following fix your bug? And is it acceptable?
Index: lisp/man.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/man.el,v
retrieving revision 1.167
diff -c -r1.167 man.el
*** lisp/man.el 24 Mar 2007 09:43:07 -0000 1.167
--- lisp/man.el 9 May 2007 11:17:29 -0000
***************
*** 1296,1302 ****
(forward-line 1))
(if (re-search-forward Man-heading-regexp (point-max) t n)
(beginning-of-line)
! (goto-char (point-max)))))
(defun Man-previous-section (n)
"Move point to Nth previous section (default 1)."
--- 1296,1304 ----
(forward-line 1))
(if (re-search-forward Man-heading-regexp (point-max) t n)
(beginning-of-line)
! (goto-char (point-max))
! ;; The last line doesn't belong to any section.
! (forward-line -1))))
(defun Man-previous-section (n)
"Move point to Nth previous section (default 1)."
--
| Michaël `Micha' Cadilhac | Une erreur peut devenir exacte |
| http://michael.cadilhac.name | selon que celui qui l'a commise |
| JID/MSN: | s'est trompé ou non. |
`---- address@hidden | -- Pierre Dac - --'
pgp0n6aTu6ZKz.pgp
Description: PGP signature