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. 166e14bf5496e2c8a85bc


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 166e14bf5496e2c8a85bcefb1786c7ae9e474a14
Date: Tue, 21 Jul 2015 20:34:27 +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  166e14bf5496e2c8a85bcefb1786c7ae9e474a14 (commit)
      from  482dddb6eb1441c5ed500b97065bf72e46624e6d (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 166e14bf5496e2c8a85bcefb1786c7ae9e474a14
Author: Arash Esbati <address@hidden>
Date:   Tue Jul 21 20:54:05 2015 +0200

    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>

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 ]

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

Summary of changes:
 ChangeLog        |    5 +++++
 style/textpos.el |   10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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