|
From: | Stefan Monnier |
Subject: | Re: trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call |
Date: | Mon, 04 Nov 2013 15:43:50 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> +(defun smie--next-indent-change () >> + "Go to the next line that needs to be reindented (and reindent it)." >> + (interactive) >> + (while >> + (let ((tick (buffer-modified-tick))) >> + (indent-according-to-mode) >> + (eq tick (buffer-modified-tick))) >> + (forward-line 1))) > Shouldn't this rather use buffer-chars-modified-tick? Indeed, Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |