auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. da88a3eca3107372131aa


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. da88a3eca3107372131aa26930e548c039fe1b51
Date: Thu, 31 Mar 2016 22:14:32 +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  da88a3eca3107372131aa26930e548c039fe1b51 (commit)
      from  00430f2ea9ef010a0a7651fa2077717128e6b8f8 (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 da88a3eca3107372131aa26930e548c039fe1b51
Author: Mosè Giordano <address@hidden>
Date:   Fri Apr 1 00:11:21 2016 +0200

    Dinamically put delete-selection prop to TeX-insert-dollar
    
    * tex.el (TeX-insert-dollar): Put `delete-selection' property only when
      `TeX-electric-math' is nil.  Suggested by Roger Lipsett.  Fixes
      bug#23177.

diff --git a/tex.el b/tex.el
index 588848a..006af7e 100644
--- a/tex.el
+++ b/tex.el
@@ -6445,6 +6445,7 @@ NAME may be a package, a command, or a document."
 (put 'TeX-newline 'delete-selection t)
 (put 'TeX-insert-quote 'delete-selection t)
 (put 'TeX-insert-backslash 'delete-selection t)
+(put 'TeX-insert-dollar 'delete-selection (lambda () (null TeX-electric-math)))
 
 (defun TeX-how-many (regexp &optional rstart rend)
   "Compatibily function for `how-many'.

-----------------------------------------------------------------------

Summary of changes:
 tex.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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