auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 0a9407c 47/80: Conform to `delete


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 0a9407c 47/80: Conform to `delete-selection-mode' (bug#36385)
Date: Wed, 16 Oct 2019 11:07:15 -0400 (EDT)

branch: externals/auctex
commit 0a9407cceea625c587eac8958d9921751c03ccf9
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    Conform to `delete-selection-mode' (bug#36385)
    
    * latex.el (LaTeX-insert-left-brace): Put `delete-selection' property
    which obeys that of `self-insert-command' when
    `LaTeX-electric-left-right-brace' feature is inactive.
---
 latex.el | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/latex.el b/latex.el
index dd6c398..760c42a 100644
--- a/latex.el
+++ b/latex.el
@@ -2792,6 +2792,8 @@ Automatic right brace insertion is done only if no prefix 
ARG is given and
 `LaTeX-electric-left-right-brace' is non-nil.
 Normally bound to keys \(, { and [."
   (interactive "*P")
+  ;; If you change the condition for `auto-p', adjust the condition in
+  ;; the `delete-selection' property, just below this defun, accordingly


reply via email to

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