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 17277d82fad928ec2b4e69be95266d2edb76169d (commit) from e118a53e0a77efa53a3919c504368108131a1eb6 (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 17277d82fad928ec2b4e69be95266d2edb76169d Author: Ikumi Keita <ik...@ikumi.que.jp> Date: Wed Dec 1 00:28:29 2021 +0900 Fix marker management * latex.el (LaTeX-env-figure): Set marker only when it's really a marker. diff --git a/latex.el b/latex.el index 96e55df..6d25559 100644 --- a/latex.el +++ b/latex.el @@ -1247,7 +1247,8 @@ If SHORT-CAPTION is non-nil pass it as an optional argument to ;; Insert an empty line between caption and marked region, if any. (when active-mark (LaTeX-newline) (forward-line -1)) (indent-according-to-mode))) - (set-marker end-marker nil) + (when (markerp end-marker) + (set-marker end-marker nil)) (when (and (member environment '("table" "table*")) ;; Suppose an existing tabular environment should just ;; be wrapped into a table if there is an active region. ----------------------------------------------------------------------- Summary of changes: latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) hooks/post-receive -- GNU AUCTeX _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs