emacs-devel
[Top][All Lists]
Advanced

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

Re: trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always


From: Johan Bockgård
Subject: Re: trunk r114927: * lisp/emacs-lisp/smie.el (smie-rule-parent): Always call
Date: Mon, 04 Nov 2013 19:46:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> +(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?



reply via email to

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