[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7642155b 1/2: Don't let-bind `inhibit-point-motion-hooks' to t
From: |
Arash Esbati |
Subject: |
master 7642155b 1/2: Don't let-bind `inhibit-point-motion-hooks' to t |
Date: |
Mon, 31 Oct 2022 07:10:32 -0400 (EDT) |
branch: master
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 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))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7642155b 1/2: Don't let-bind `inhibit-point-motion-hooks' to t,
Arash Esbati <=