branch: main
commit 59ee2fe5e1be4e9351039a7f1c832f75069df3ac
Author: Paul Nelson <[email protected]>
Commit: Arash Esbati <[email protected]>
Expand abbreviations before inserting quotes
* tex.el (TeX-insert-quote): Expand abbreviations before
inserting quotes. (Bug#78653)
---
tex.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/tex.el b/tex.el
index 5a3345ae..6f8267ac 100644
--- a/tex.el
+++ b/tex.el
@@ -6449,6 +6449,7 @@ With prefix argument FORCE, always inserts \" characters."
(texmathp)
(and (TeX-in-comment) (not (eq major-mode 'docTeX-mode))))
(self-insert-command (prefix-numeric-value force))
+ (expand-abbrev)
(TeX-update-style)
(pcase-let ((`(,open-quote ,close-quote ,q-after-q)
(TeX-get-quote-characters)))