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. 53838b36fce2a774055a1


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 53838b36fce2a774055a1303851294947c97f01f
Date: Sun, 25 Jan 2015 08:01:58 +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  53838b36fce2a774055a1303851294947c97f01f (commit)
      from  8cd2b07e2074ad5e9fdbe6da8f580972f7b6de5d (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 53838b36fce2a774055a1303851294947c97f01f
Author: Tassilo Horn <address@hidden>
Date:   Sun Jan 25 09:01:08 2015 +0100

    Fix bug#19675
    
    * latex.el (LaTeX-section-heading): Use default parameter of
    completing-read.  Fixes bug#19675.

diff --git a/ChangeLog b/ChangeLog
index 33e78b0..4aa8dfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-25  Tassilo Horn  <address@hidden>
+
+       * latex.el (LaTeX-section-heading): Use default parameter of
+       completing-read.  Fixes bug#19675.
+
 2015-01-19  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-auto-store): Fix indentation in auto files.
diff --git a/latex.el b/latex.el
index 0da018e..8409690 100644
--- a/latex.el
+++ b/latex.el
@@ -441,11 +441,11 @@ the name of the sectioning command inserted with 
`\\[LaTeX-section]'."
   (let ((string (completing-read
                 (concat "Level: (default " name ") ")
                 LaTeX-section-list
-                nil nil nil)))
-    ; Update name
+                nil nil nil nil name)))
+    ;; Update name
     (if (not (zerop (length string)))
        (setq name string))
-    ; Update level
+    ;; Update level
     (setq level (LaTeX-section-level name))))
 
 (defun LaTeX-section-title ()

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

Summary of changes:
 ChangeLog |    5 +++++
 latex.el  |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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