Merge branch 'master' into f19

Conflicts:
	emacs.spec
This commit is contained in:
Jaromír Končický 2013-08-14 15:43:34 +02:00
commit dc3494f96e
2 changed files with 20 additions and 1 deletions

13
emacs-pdf-default.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/lisp/org/org.el b/lisp/org/org.el
index cc4c93f..285b71c 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -1750,7 +1750,7 @@ See `org-file-apps'.")
(auto-mode . emacs)
("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
- ("\\.pdf\\'" . default)
+ ("\\.pdf\\'" . xdg-open)
)
"External applications for opening `file:path' items in a document.
Org-mode uses system defaults for different file types, but

View File

@ -3,7 +3,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 24.3
Release: 10%{?dist}
Release: 11%{?dist}
License: GPLv3+
URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors
@ -32,6 +32,8 @@ Patch12: emacs-gtk-warning.patch
Patch13: emacs-help-update.patch
# Fix for emacs bug #948838
Patch14: emacs-maximized.patch
# Fix for default PDF viewer bug #971162
Patch15: emacs-pdf-default.patch
# Fix for emacs bug #13460.
Patch100: emacs-24.3-hunspell.patch
# Fix for emacs bug #827033
@ -176,6 +178,7 @@ packages that add functionality to Emacs.
%patch12 -p1 -b .gtk-warning.patch
%patch13 -p1 -b .help-update.patch
%patch14 -p1 -b .maximized.patch
%patch15 -p1 -b .pdf-default.patch
%patch100 -p1 -b .hunspell
%patch101 -p1 -b .hunspell.2
@ -461,6 +464,9 @@ update-desktop-database &> /dev/null || :
%dir %{_datadir}/emacs/site-lisp/site-start.d
%changelog
* Wed Aug 14 2013 Jaromir Koncicky <jkoncick@redhat.com> - 1:24.3-11
- Fix default PDF viewer (#971162)
* Fri Aug 09 2013 Petr Hracek <phracek@redhat.com> - 1:24.3-10
- emacs -mm (maximized) does not work (#985729)