emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch for doc-view.el


From: Tassilo Horn
Subject: Re: isearch for doc-view.el
Date: Mon, 05 Nov 2007 14:19:29 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

Hi David,

>> Index: lisp/doc-view.el
>> ===================================================================
>> RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
>> retrieving revision 1.18
>> diff -u -r1.18 doc-view.el
>> --- lisp/doc-view.el 1 Nov 2007 03:53:32 -0000       1.18
>> +++ lisp/doc-view.el 5 Nov 2007 11:41:33 -0000
>
> [...]
>
>>      ;; Searching
>> -    (define-key map (kbd "C-s")       'doc-view-search)
>> -    (define-key map (kbd "<find>")    'doc-view-search)
>> -    (define-key map (kbd "C-S-n")     'doc-view-search-next-match)
>> -    (define-key map (kbd "C-S-p")     'doc-view-search-previous-match)
>> +    (define-key map (kbd "C-s")       'isearch-forward)
>> +    (define-key map (kbd "<find>")    'isearch-forward)
>> +    (define-key map (kbd "C-r")       'isearch-backward)
>
> Is a definition even necessary?  Can't you just inherit the normal
> bindings?

Indeed, I removed the definitions and it still works as expected.
Thanks for the hint.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]