emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa 56c1afd 28/51: Call TeX-newline-function interactively


From: Tassilo Horn
Subject: [elpa] elpa 56c1afd 28/51: Call TeX-newline-function interactively
Date: Sun, 22 May 2016 07:22:49 +0000 (UTC)

branch: elpa
commit 56c1afdb4f18fade14341917c699cb54c9a4f107
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    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).
---
 tex.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)))



reply via email to

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