branch: master
commit 06c0df55a49cf1946042ec540a0c5ac503279cfb
Author: Paul Nelson <ultr...@gmail.com>
Commit: Arash Esbati <ar...@gnu.org>

    Expand default auto-reveal options
    
    * preview.el.in (preview-auto-reveal-commands):
    * tex-fold.el (TeX-fold-auto-reveal-commands): Add
    pop-to-mark-command and undo to the default setting.
    (bug#70710)
---
 preview.el.in | 4 +++-
 tex-fold.el   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/preview.el.in b/preview.el.in
index 64473e60..ee176c79 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -1645,7 +1645,9 @@ Fallback to :inherit and \\='default implemented."
   '((key-binding [left])
     (key-binding [right])
     backward-char
-    forward-char)
+    forward-char
+    pop-to-mark-command
+    undo)
   "List of commands that may cause a preview to be revealed.
 This list is consulted by the default value of `preview-auto-reveal'."
   :type '(repeat (choice (function :tag "Function")
diff --git a/tex-fold.el b/tex-fold.el
index e45188a6..f7b1c32f 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -262,7 +262,9 @@ After that, changing the prefix key requires manipulating 
keymaps."
     (key-binding [right])
     backward-char
     forward-char
-    mouse-set-point)
+    mouse-set-point
+    pop-to-mark-command
+    undo)
   "List of commands that may cause a fold to be revealed.
 This list is consulted by the default value of `TeX-fold-auto-reveal'."
   :type '(repeat (choice (function :tag "Function")

Reply via email to