[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 56c1afdb4f18fade14341
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 56c1afdb4f18fade14341917c699cb54c9a4f107 |
Date: |
Tue, 19 Apr 2016 20:35:45 +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 56c1afdb4f18fade14341917c699cb54c9a4f107 (commit)
via bc8d07f64e4832549182ab541c875736feb8515f (commit)
from ae6cb792c0882f1027a382bf3d44a064cbedb3bb (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 56c1afdb4f18fade14341917c699cb54c9a4f107
Author: Mosè Giordano <address@hidden>
Date: Tue Apr 19 22:32:34 2016 +0200
Call TeX-newline-function interactively
* tex.el (TeX-newline): Replace `funcall' with `call-interactively'.
This makes `electric-indent-mode' work out-of-the-box. Suggested by
alex (http://comments.gmane.org/gmane.emacs.auctex.devel/4631).
diff --git a/tex.el b/tex.el
index 43a70fa..b85a72a 100644
--- a/tex.el
+++ b/tex.el
@@ -4861,7 +4861,7 @@ Brace insertion is only done if point is in a math
construct and
(defun TeX-newline ()
"Call the function specified by the variable `TeX-newline-function'."
- (interactive) (funcall TeX-newline-function))
+ (interactive) (call-interactively TeX-newline-function))
(defvar TeX-mode-map
(let ((map (make-sparse-keymap)))
commit bc8d07f64e4832549182ab541c875736feb8515f
Author: Ikumi Keita <address@hidden>
Date: Fri Apr 15 23:22:23 2016 +0900
Temporarily bind `TeX-insert-macro-default-style' to 'show-optional-args'
* latex.el (LaTeX-item-argument): Temporarily bind
`TeX-insert-macro-default-style' to 'show-optional-args'.
This is necessary in description environment if the user customize the
option to `mandatory-args-only'.
Signed-off-by: Mosè Giordano <address@hidden>
diff --git a/latex.el b/latex.el
index 9c2ccb5..16d6760 100644
--- a/latex.el
+++ b/latex.el
@@ -1259,7 +1259,8 @@ You may use `LaTeX-item-list' to change the routines used
to insert the item."
(defun LaTeX-item-argument ()
"Insert a new item with an optional argument."
- (let ((TeX-arg-item-label-p t))
+ (let ((TeX-arg-item-label-p t)
+ (TeX-insert-macro-default-style 'show-optional-args))
(TeX-insert-macro "item")))
(defun LaTeX-item-bib ()
-----------------------------------------------------------------------
Summary of changes:
latex.el | 3 ++-
tex.el | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 56c1afdb4f18fade14341917c699cb54c9a4f107,
Mosè Giordano <=