|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |