help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: possible bug in M-/ (dabbrev-expand)


From: Dieter Wilhelm
Subject: Re: possible bug in M-/ (dabbrev-expand)
Date: Mon, 23 Apr 2007 22:01:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>    (defun bla ( &optional a b c) ;dummy variables
>>      (interactive)
>>      (save-excursion
>>        (re-search-forward "a" nil 'noerror)))
>
>>    (add-hook 'after-change-functions 'bla nil t)
>
> You probably need to save-match-data as well.
>

Yes you are right, thank you very much.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

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