auctex-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 7642155b73 03/48: Don't let-bind `inhibit-point-


From: Tassilo Horn
Subject: [elpa] externals/auctex 7642155b73 03/48: Don't let-bind `inhibit-point-motion-hooks' to t
Date: Fri, 18 Nov 2022 14:27:42 -0500 (EST)

branch: externals/auctex
commit 7642155b73960e129155dd5aedeaa5234bc48c19
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@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 e9690b9c4d..0494f7daaa 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))))))




reply via email to

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