emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/tex-parens 5e94f47595 45/62: add #'pop-to-mark-command


From: ELPA Syncer
Subject: [elpa] externals/tex-parens 5e94f47595 45/62: add #'pop-to-mark-command to auto-reveal list for preview/TeX-fold
Date: Thu, 6 Jun 2024 04:01:00 -0400 (EDT)

branch: externals/tex-parens
commit 5e94f47595615e3b8e9c45fd46905f08627d922a
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>

    add #'pop-to-mark-command to auto-reveal list for preview/TeX-fold
    
    this should really be the case for auctex more broadly
---
 tex-parens.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tex-parens.el b/tex-parens.el
index 0d3c6d21e6..51711f2a0a 100644
--- a/tex-parens.el
+++ b/tex-parens.el
@@ -178,7 +178,9 @@ form delimiters which are visibly `left'/`opening' or
                                (key-binding [right])
                                #'backward-char #'forward-char
                                #'tp-down-list
-                               #'tp-backward-down-list)))
+                               #'tp-backward-down-list
+                               #'pop-to-mark-command
+                               )))
   (when (boundp 'TeX-fold-auto-reveal)
     (setq TeX-fold-auto-reveal
           '(eval (preview-arrived-via (key-binding [left])
@@ -192,7 +194,8 @@ form delimiters which are visibly `left'/`opening' or
                                       #'tp-up-list
                                       #'tp-backward-up-list
                                       #'tp-forward-sexp
-                                      #'tp-backward-sexp))))
+                                      #'tp-backward-sexp
+                                      #'pop-to-mark-command))))
   (setq-local beginning-of-defun-function #'tp--beginning-of-defun)
   (setq-local transpose-sexps-default-function 
#'tp-transpose-sexps-default-function)
   (setq end-of-defun-function #'tp--end-of-defun)



reply via email to

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