auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 32e93a0638fda83440c63


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 32e93a0638fda83440c63af4f595eda49cff9615
Date: Thu, 10 Jun 2021 01:39:47 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  32e93a0638fda83440c63af4f595eda49cff9615 (commit)
      from  268fcac2a117a421feb673ca5e5df922374d8661 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 32e93a0638fda83440c63af4f595eda49cff9615
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Mon May 24 22:41:29 2021 +0900

    Fix bug#36651
    
    * tex-fold.el (TeX-fold-mode): Open folded portion when isearch
    matches the hidden text.

diff --git a/tex-fold.el b/tex-fold.el
index dd26742..7698721 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -908,7 +908,11 @@ With zero or negative ARG turn mode off."
   :keymap (list (cons TeX-fold-command-prefix TeX-fold-keymap))
   (if TeX-fold-mode
       (progn
-        (set (make-local-variable 'search-invisible) t)
+        ;; The value t cause problem when body text is hidden in
+        ;; outline-minor-mode. (bug#36651)
+        ;; In addition, it's better not to override user preference
+        ;; without good reason.
+        ;; (set (make-local-variable 'search-invisible) t)
         (add-hook 'post-command-hook #'TeX-fold-post-command nil t)
         (add-hook 'LaTeX-fill-newline-hook #'TeX-fold-update-at-point nil t)
         (add-hook 'TeX-after-insert-macro-hook
@@ -930,7 +934,7 @@ With zero or negative ARG turn mode off."
                                                      (TeX-mode-prefix) elt))))
                          (when (boundp symbol)
                            (symbol-value symbol)))))))
-    (kill-local-variable 'search-invisible)
+    ;; (kill-local-variable 'search-invisible)
     (remove-hook 'post-command-hook #'TeX-fold-post-command t)
     (remove-hook 'LaTeX-fill-newline-hook #'TeX-fold-update-at-point t)
     (TeX-fold-clearout-buffer))

-----------------------------------------------------------------------

Summary of changes:
 tex-fold.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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