2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
+ * rect.el (rectangle--highlight-for-redisplay):
+ * emacs-lisp/smie.el (smie--next-indent-change):
+ Use buffer-chars-modified-tick.
+
* emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
* electric.el (electric-indent-post-self-insert-function):
"Go to the next line that needs to be reindented (and reindent it)."
(interactive)
(while
- (let ((tick (buffer-modified-tick)))
+ (let ((tick (buffer-chars-modified-tick)))
(indent-according-to-mode)
- (eq tick (buffer-modified-tick)))
+ (eq tick (buffer-chars-modified-tick)))
(forward-line 1)))
;;; User configuration
((not rectangle-mark-mode)
(funcall orig start end window rol))
((and (eq 'rectangle (car-safe rol))
- (eq (nth 1 rol) (buffer-modified-tick))
+ (eq (nth 1 rol) (buffer-chars-modified-tick))
(eq start (nth 2 rol))
(eq end (nth 3 rol)))
rol)
(push ol nrol))
(forward-line 1))
(mapc #'delete-overlay old)
- `(rectangle ,(buffer-modified-tick) ,start ,end ,@nrol))))))
+ `(rectangle ,(buffer-chars-modified-tick) ,start ,end ,@nrol))))))
(defun rectangle--unhighlight-for-redisplay (orig rol)
(if (not (eq 'rectangle (car-safe rol)))