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 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58 (commit)
from b0c5a4e7d02bbc41e1b9cebf2e042e61aff7a0f6 (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 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58
Author: Ikumi Keita <[email protected]>
Date: Fri May 28 02:47:20 2021 +0900
Improve `TeX-electric-macro' in Texinfo mode
* tex.el (TeX-electric-macro): Compare with `last-command-event'
rather than constant ?\ in case `@' is typed in Texinfo mode.
diff --git a/tex.el b/tex.el
index 3df61ff..d8ae9b8 100644
--- a/tex.el
+++ b/tex.el
@@ -3327,7 +3327,7 @@ is called with \\[universal-argument]."
AUCTeX knows of some macros, and may query for extra arguments.
Space will complete and exit."
(interactive)
- (cond ((eq (preceding-char) ?\\)
+ (cond ((eq (preceding-char) last-command-event)
(call-interactively #'self-insert-command))
((eq (preceding-char) ?.)
(let ((TeX-default-macro " ")
-----------------------------------------------------------------------
Summary of changes:
tex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GNU AUCTeX
_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs