Accepting request 430594 from editors
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/430594 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=33
This commit is contained in:
commit
4f603c1f5e
29
0001-Fix_bug_in_subfigure_style_filee.patch
Normal file
29
0001-Fix_bug_in_subfigure_style_filee.patch
Normal 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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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_*}
|
||||
@ -121,6 +124,11 @@ you cannot use this package for XEmacs.
|
||||
;;
|
||||
(load "preview-latex.el" nil t t)
|
||||
EOF
|
||||
for el in auctex.el preview-latex.el
|
||||
do
|
||||
test -e %{buildroot}%{_sitedir}/$el || continue
|
||||
mv %{buildroot}%{_sitedir}/$el %{buildroot}%{_sitedir}/site-start.d/
|
||||
done
|
||||
#
|
||||
# Preview is part of te_latex
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user