[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3cba1615e9d746e9e6cb2
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3cba1615e9d746e9e6cb26086d176c4460921b50 |
Date: |
Fri, 29 Nov 2013 06:49:05 +0000 |
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 3cba1615e9d746e9e6cb26086d176c4460921b50 (commit)
from 3f4b3d65c7aa32bf2d0629bf88e61b2b83211ade (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 3cba1615e9d746e9e6cb26086d176c4460921b50
Author: Tassilo Horn <address@hidden>
Date: Fri Nov 29 07:48:26 2013 +0100
Disable electric-pair-mode.
* tex.el (VirTeX-common-initialization): Disable
`electric-pair-mode' (a global minor mode) in auctex buffers
because it interferes with auctex's pairing feature.
diff --git a/ChangeLog b/ChangeLog
index 2838966..80f89d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-29 Tassilo Horn <address@hidden>
+
+ * tex.el (VirTeX-common-initialization): Disable
+ `electric-pair-mode' (a global minor mode) in auctex buffers
+ because it interferes with auctex's pairing feature.
+
2013-11-23 Mosè Giordano <address@hidden>
* latex.el (LaTeX-common-initialization):
diff --git a/tex.el b/tex.el
index 07c452e..ea882f6 100644
--- a/tex.el
+++ b/tex.el
@@ -3169,7 +3169,13 @@ The algorithm is as follows:
(when (or (not (file-exists-p (buffer-file-name)))
(eq TeX-master 'shared))
(TeX-master-file nil nil t))
- (TeX-update-style t)) nil t))
+ (TeX-update-style t)) nil t)
+ ;; AUCTeX brace pairing feature doesn't play nice with `electric-pair-mode'
+ ;; which is a global minor mode as of emacs 24.4.
+ (when (and (boundp 'electric-pair-mode)
+ (boundp 'electric-pair-inhibit-predicate))
+ (set (make-local-variable 'electric-pair-inhibit-predicate)
+ (lambda (char) t))))
;;; Hilighting
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
tex.el | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3cba1615e9d746e9e6cb26086d176c4460921b50,
Tassilo Horn <=