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

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

[elpa] externals/auctex 563f0e6 08/11: Fix docstring and spelling errors


From: Tassilo Horn
Subject: [elpa] externals/auctex 563f0e6 08/11: Fix docstring and spelling errors
Date: Fri, 01 May 2015 08:58:59 +0000

branch: externals/auctex
commit 563f0e68c1d126cbdfd8cb576a0b02ab514e1054
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix docstring and spelling errors
    
    * tex.el (TeX-string-divide-number-unit): Fix docstring.
    
    * style/mathtools.el ("mathtools"): Fix typos.
---
 ChangeLog          |    6 ++++++
 style/mathtools.el |    2 +-
 tex.el             |    3 +--
 3 files changed, 8 insertions(+), 3 deletions(-)

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)



reply via email to

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