[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-
From: |
Tassilo Horn |
Subject: |
[elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar |
Date: |
Sun, 22 May 2016 07:22:47 +0000 (UTC) |
branch: elpa
commit da88a3eca3107372131aa26930e548c039fe1b51
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
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.
---
tex.el | 1 +
1 file changed, 1 insertion(+)
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'.
- [elpa] elpa updated (7573813 -> ebf4b8a), Tassilo Horn, 2016/05/22
- [elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar,
Tassilo Horn <=
- [elpa] elpa c58162a 04/51: TikZ: Add circle command., Tassilo Horn, 2016/05/22
- [elpa] elpa 310008b 05/51: TikZ: Add the arc command., Tassilo Horn, 2016/05/22
- [elpa] elpa b66c10a 08/51: TikZ: Add parabola command., Tassilo Horn, 2016/05/22
- [elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable, Tassilo Horn, 2016/05/22
- [elpa] elpa de0d445 07/51: TikZ: Add optional parameter to `TeX-TikZ-single-macro-arg'., Tassilo Horn, 2016/05/22
- [elpa] elpa 44e654b 22/51: Use `match-string-no-properties', Tassilo Horn, 2016/05/22
- [elpa] elpa 36b6051 12/51: Compatibility for XEmacs, Tassilo Horn, 2016/05/22
- [elpa] elpa af27d33 17/51: TikZ: Add the grid command., Tassilo Horn, 2016/05/22
- [elpa] elpa bc8d07f 27/51: Temporarily bind `TeX-insert-macro-default-style' to 'show-optional-args', Tassilo Horn, 2016/05/22
- [elpa] elpa 88fbf80 20/51: Fix in TeX sentinels, Tassilo Horn, 2016/05/22