branch: master
commit 7e420cff9b33c43be296f974bd2732176a8d5634
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>

    ; * style/soul.el ("soul"): Use `LaTeX-soul-auto-cleanup'.
---
 style/soul.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/style/soul.el b/style/soul.el
index a049e394..05477704 100644
--- a/style/soul.el
+++ b/style/soul.el
@@ -45,7 +45,7 @@
 (TeX-auto-add-type "soul-sodef" "LaTeX")
 
 (defvar LaTeX-soul-sodef-regexp
-  `(,(concat"\\\\sodef{?\\\\\\(" TeX-token-char "+\\)")
+  `(,(concat "\\\\sodef{?\\\\\\(" TeX-token-char "+\\)")
     1 LaTeX-auto-soul-sodef))
 
 (defun LaTeX-soul-auto-prepare ()
@@ -87,7 +87,7 @@
                (TeX-arg-opening-brace "")
                (TeX-arg-closing-brace ""))
            (LaTeX-add-soul-sodefs mac)
-           (LaTeX-soul-auto-prepare)
+           (LaTeX-soul-auto-cleanup)
            (TeX-argument-insert mac optional TeX-esc)))
       (TeX-arg-completing-read LaTeX-font-shape "Font: \\" t ,TeX-esc)
       "Inner-letter space" "Inner space" "Outer space"

Reply via email to