SHA256
1
0
forked from pool/emacs-auctex
Dr. Werner Fink 2016-09-20 14:21:16 +00:00 committed by Git OBS Bridge
parent 1ab623c456
commit 2c749d035b
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,29 @@
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 20 14:20:47 UTC 2016 - werner@suse.de
- Add patch 0001-Fix_bug_in_subfigure_style_filee.patch
to fix build with GNU Emacs 25.1
-------------------------------------------------------------------
Fri Nov 13 19:25:26 UTC 2015 - auxsvr@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package emacs-auctex
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -45,6 +45,8 @@ Url: http://www.gnu.org/software/auctex
# Allows to select printer instance
# PATCH-FEATURE-UPSTREAM dvips.patch
Patch0: dvips.patch
# PATCH-FIX-UPSTREAM
Patch1: 0001-Fix_bug_in_subfigure_style_filee.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -68,6 +70,7 @@ you cannot use this package for XEmacs.
%prep
%setup -n auctex-%{version}
%patch0
%patch1 -p1
%build
unset ${!LC_*}