[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
main 8de09a85: ; Simplify last change
From: |
Arash Esbati |
Subject: |
main 8de09a85: ; Simplify last change |
Date: |
Wed, 30 Oct 2024 08:32:56 -0400 (EDT) |
branch: main
commit 8de09a85b9f77aaffa3c6a89d55e15e0c102bb59
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Simplify last change
* tex.el (TeX-insert-quote): Use `bound-and-true-p'.
---
tex.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tex.el b/tex.el
index 498464e0..59a33142 100644
--- a/tex.el
+++ b/tex.el
@@ -6483,11 +6483,9 @@ With prefix argument FORCE, always inserts \"
characters."
(t
close-quote))))
;; Fold quotes if TeX-fold-quotes-on-insert is t
- (when (and (boundp 'TeX-fold-mode)
- (boundp 'TeX-fold-quotes-on-insert)
+ (when (and (bound-and-true-p TeX-fold-mode)
+ (bound-and-true-p TeX-fold-quotes-on-insert)
(fboundp 'TeX-fold-quotes)
- TeX-fold-mode
- TeX-fold-quotes-on-insert
(not (eq (char-before) ?\"))) ; Don't fold single quotes
(save-excursion
(let* ((end (point))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- main 8de09a85: ; Simplify last change,
Arash Esbati <=