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: Stefan Monnier
Subject: Re: possible bug in M-/ (dabbrev-expand)
Date: Sun, 22 Apr 2007 21:31:43 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux)

>    (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.


        Stefan




reply via email to

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