branch: elpa commit 0cc29f909de3f1febd9d958e96007493a2f9b69c Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Fix void-variable error. * latex.el (LaTeX-env-args): Bind exit-mark if its not bound already. --- ChangeLog | 5 +++++ latex.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 869e8c9..9bd0dae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-19 Tassilo Horn <t...@gnu.org> + + * latex.el (LaTeX-env-args): Bind exit-mark if its not bound + already. + 2014-12-18 Tassilo Horn <t...@gnu.org> * tex.el (TeX-evince-sync-view): Don't URL-encode commas in the diff --git a/latex.el b/latex.el index 477ef66..1098601 100644 --- a/latex.el +++ b/latex.el @@ -1182,7 +1182,10 @@ Just like array and tabular." (save-excursion (LaTeX-find-matching-begin) (end-of-line) - (TeX-parse-arguments args))) + (let ((exit-mark (if (boundp 'exit-mark) + exit-mark + (make-marker)))) + (TeX-parse-arguments args)))) ;;; Item hooks