[emacs-auctex] Add patch to fix BZ 995245

Jonathan G. Underwood jgu at fedoraproject.org
Fri Feb 28 16:33:24 UTC 2014


commit 15a326e9294b7249edc3ebc0974602e1a64908f5
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Fri Feb 28 16:34:05 2014 +0000

    Add patch to fix BZ 995245

 emacs-auctex-11.87-fix-plain-tex.patch |   11 +++++++++++
 emacs-auctex.spec                      |   11 ++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/emacs-auctex-11.87-fix-plain-tex.patch b/emacs-auctex-11.87-fix-plain-tex.patch
new file mode 100644
index 0000000..592bd83
--- /dev/null
+++ b/emacs-auctex-11.87-fix-plain-tex.patch
@@ -0,0 +1,11 @@
+--- plain-tex.el.orig	2014-02-28 16:28:51.312082846 +0000
++++ plain-tex.el	2014-02-28 16:29:19.314639480 +0000
+@@ -142,7 +142,7 @@
+   "Common initialization for plain TeX like modes."
+   (VirTeX-common-initialization)
+   (set-syntax-table TeX-mode-syntax-table)
+-  (setq local-abbrev-table latex-mode-abbrev-table)
++  (setq local-abbrev-table plain-tex-mode-abbrev-table)
+   (setq paragraph-start
+ 	(concat
+ 	 "\\(^[ \t]*$"
diff --git a/emacs-auctex.spec b/emacs-auctex.spec
index 86daeb5..2d347e8 100644
--- a/emacs-auctex.spec
+++ b/emacs-auctex.spec
@@ -12,7 +12,7 @@
 Summary: 	Enhanced TeX modes for Emacs
 Name: 		emacs-auctex
 Version: 	11.87
-Release: 	7%{?dist}
+Release: 	8%{?dist}
 License: 	GPLv3+ and GFDL
 Group: 		Applications/Editors
 URL: 		http://www.gnu.org/software/auctex/
@@ -29,6 +29,11 @@ Requires: 	tex-preview = %{version}-%{release}
 
 Source0: 	ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
 
+# This is fixed upstre3am, so this patch can be removed for 11.88
+# https://bugzilla.redhat.com/show_bug.cgi?id=995245
+# http://tex.stackexchange.com/questions/115870/void-variable-latex-mode-abbrev-table
+Patch0:         emacs-auctex-11.87-fix-plain-tex.patch
+
 BuildArch: 	noarch
 BuildRequires: 	emacs tex(latex) texinfo-tex ghostscript
 
@@ -90,6 +95,7 @@ Emacs.
 
 %prep
 %setup -q -n auctex-%{version}
+%patch0 -p0
 
 %build
 %if %{separate_preview}
@@ -169,6 +175,9 @@ fi
 %doc doc/html
 
 %changelog
+* Fri Feb 28 2014 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.87-8
+- Add patch to fix BZ 995245
+
 * Wed Feb 12 2014 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.87-7
 - Really Fix up installation location of doc files
 


More information about the scm-commits mailing list