branch: master commit 7642155b73960e129155dd5aedeaa5234bc48c19 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Don't let-bind `inhibit-point-motion-hooks' to t * tex.el (TeX-current-offset): Delete let-binding of `inhibit-point-motion-hooks' to t because this is the default value since Emacs 25.1. --- tex.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tex.el b/tex.el index e9690b9c..0494f7da 100644 --- a/tex.el +++ b/tex.el @@ -6860,8 +6860,7 @@ depend on it being positive instead of the entry in `TeX-command-list'." (save-restriction (widen) (save-excursion - (let ((inhibit-point-motion-hooks t) - (inhibit-field-text-motion t)) + (let ((inhibit-field-text-motion t)) (if pos (goto-char pos)) (+ (count-lines (point-min) (point)) (if (bolp) 0 -1))))))