emacs-auctex/0001-Fix_bug_in_subfigure_style_filee.patch

30 lines
883 B
Diff

From d2c7bb3aa56930c45722482fd64174b2504bb9a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mos=C3=A8=20Giordano?= <mose@gnu.org>
Date: Wed, 20 Jan 2016 23:00:03 +0100
Subject: Fix bug in subfigure style file
* style/subfigure.el ("subfigure"): Move `TeX-complete-list' inside
append argument. Fixes bug#22417.
---
style/subfigure.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/subfigure.el b/style/subfigure.el
index e129e62..5d7525b 100644
--- a/style/subfigure.el
+++ b/style/subfigure.el
@@ -47,8 +47,8 @@
;; Install completion for labels:
(setq TeX-complete-list
(append
- '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")))
- TeX-complete-list)
+ '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}"))
+ TeX-complete-list))
;; Fontification
(when (and (featurep 'font-latex)
--
cgit v1.0