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

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

[elpa] externals/auctex 166e14b 25/28: Fix a typo in the name of provide


From: Tassilo Horn
Subject: [elpa] externals/auctex 166e14b 25/28: Fix a typo in the name of provided env's.
Date: Fri, 07 Aug 2015 15:59:27 +0000

branch: externals/auctex
commit 166e14bf5496e2c8a85bcefb1786c7ae9e474a14
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Fix a typo in the name of provided env's.
    
    * style/textpos.el ("textpos"): Fix the name of the provided env's
    which is `textblock' and not `textpos'.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 ChangeLog        |    5 +++++
 style/textpos.el |   10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1825cd7..5265019 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-21  Arash Esbati  <address@hidden>
+
+       * style/textpos.el ("textpos"): Fix the name of the provided env's
+       which is `textblock' and not `textpos'.
+
 2015-07-18  Arash Esbati  <address@hidden>
 
        * latex.el (LaTeX-common-initialization): Query for the default
diff --git a/style/textpos.el b/style/textpos.el
index 6732361..c2f3e19 100644
--- a/style/textpos.el
+++ b/style/textpos.el
@@ -31,8 +31,8 @@
 
 ;;; Code:
 
-(defun LaTeX-env-arg-textpos (env)
-  "Query for the arguments of `textpos' environment and insert
+(defun LaTeX-env-arg-textpos-textblock (env)
+  "Query for the arguments of `textblock' environment and insert
 them."
   (let* ((hsize (TeX-read-string "Width: "))
         (ho    (TeX-read-string "(Optional) X reference point: "))
@@ -68,9 +68,9 @@ them."
    (TeX-run-style-hooks "everyshi" "color")
 
    (LaTeX-add-environments
-    ;; \begin{textpos}{<hsize>}[<ho>,<vo>](<hpos>,<vpos>) ... \end{textpos}
-    '("textpos"  LaTeX-env-arg-textpos)
-    '("textpos*" LaTeX-env-arg-textpos))
+    ;; \begin{textblock}{<hsize>}[<ho>,<vo>](<hpos>,<vpos>) ... \end{textblock}
+    '("textblock"  LaTeX-env-arg-textpos-textblock)
+    '("textblock*" LaTeX-env-arg-textpos-textblock))
 
    (TeX-add-symbols
     '("TPGrid" [ LaTeX-arg-textpos-tpgrid ]



reply via email to

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