auctex-diffs
[Top][All Lists]
Advanced

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

main efa1f38e: ; Fix last change


From: Arash Esbati
Subject: main efa1f38e: ; Fix last change
Date: Tue, 1 Oct 2024 17:44:27 -0400 (EDT)

branch: main
commit efa1f38ec59a5d8ae7d3a0c718f6bcea319056e5
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Fix last change
    
    * tex-fold.el (TeX-fold--verb-data): Use `buffer-substring'.
    (bug#73302)
---
 tex-fold.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tex-fold.el b/tex-fold.el
index 32b1e146..f4a13580 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -385,8 +385,7 @@ only in LaTeX modes."
               (verb-arg-end (1- bound-end)))
     (list bound-start
           bound-end
-          (buffer-substring-no-properties verb-arg-start
-                                          verb-arg-end))))
+          (buffer-substring verb-arg-start verb-arg-end))))
 
 (defun TeX-fold-verbs (start end)
   "In LaTeX modes, fold verbatim macros between START and END."



reply via email to

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