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. 563f0e68c1d126cbdfd8c


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 563f0e68c1d126cbdfd8cb576a0b02ab514e1054
Date: Wed, 29 Apr 2015 06:19:11 +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  563f0e68c1d126cbdfd8cb576a0b02ab514e1054 (commit)
      from  7c120b044969d3496b11aa5f0ae10606dae01f91 (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 563f0e68c1d126cbdfd8cb576a0b02ab514e1054
Author: Tassilo Horn <address@hidden>
Date:   Wed Apr 29 08:18:53 2015 +0200

    Fix docstring and spelling errors
    
    * tex.el (TeX-string-divide-number-unit): Fix docstring.
    
    * style/mathtools.el ("mathtools"): Fix typos.

diff --git a/ChangeLog b/ChangeLog
index d1eb41b..3f387e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-29  Tassilo Horn  <address@hidden>
+
+       * tex.el (TeX-string-divide-number-unit): Fix docstring.
+
+       * style/mathtools.el ("mathtools"): Fix typos.
+
 2015-04-25  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-parse-macro): Improve docstring.
diff --git a/style/mathtools.el b/style/mathtools.el
index fc43a80..68fed88 100644
--- a/style/mathtools.el
+++ b/style/mathtools.el
@@ -124,7 +124,7 @@
     '("shoveright" [ TeX-arg-size ] 1)
     ;; don't understand t, but intertext in amsmath.el uses it
     '("shortintertext" t)
-    '("DeclarePairedDelimeter" TeX-arg-macro "Left delimeter" "Right 
delimeter")
+    '("DeclarePairedDelimiter" TeX-arg-macro "Left delimiter" "Right 
delimiter")
     ;; 3.4.4
     '("MoveEqLeft" [ "Number" ])
     '("ArrowBetweenLines" [ TeX-arg-macro ] )
diff --git a/tex.el b/tex.el
index 680c4a1..b7ffc1f 100644
--- a/tex.el
+++ b/tex.el
@@ -3230,8 +3230,7 @@ Unless optional argument COMPLETE is non-nil, ``: '' will 
be appended."
          (if complete "" ": ")))
 
 (defun TeX-string-divide-number-unit (string)
-  "Divide number and unit in STRING.
-Return the number as car and unit as cdr."
+  "Divide number and unit in STRING and return a list (number unit)."
   (if (string-match "[0-9]*\\.?[0-9]+" string)
       (list (substring string 0 (string-match "[^.0-9]" string))
            (substring string (if (string-match "[^.0-9]" string)

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

Summary of changes:
 ChangeLog          |    6 ++++++
 style/mathtools.el |    2 +-
 tex.el             |    3 +--
 3 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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