[emacs] Mention xdg-open in browse-url-default-browser docstring (rhbz#624359)
Karel Klíč
kklic at fedoraproject.org
Thu Aug 19 14:51:36 UTC 2010
commit 9a6eac7ea34d64b56ab51d80afc967b6e66f190e
Author: Karel Klic <kklic at redhat.com>
Date: Thu Aug 19 16:51:25 2010 +0200
Mention xdg-open in browse-url-default-browser docstring (rhbz#624359)
emacs-23.1-xdg.patch | 17 +++++++++++------
emacs.spec | 6 +++++-
2 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/emacs-23.1-xdg.patch b/emacs-23.1-xdg.patch
index 7b3a7ae..4e7cb25 100644
--- a/emacs-23.1-xdg.patch
+++ b/emacs-23.1-xdg.patch
@@ -1,7 +1,7 @@
-diff -up emacs-23.1/lisp/net/browse-url.el.xdg emacs-23.1/lisp/net/browse-url.el
---- emacs-23.1/lisp/net/browse-url.el.xdg 2009-09-18 15:10:03.000000000 -0400
-+++ emacs-23.1/lisp/net/browse-url.el 2009-09-18 15:18:51.000000000 -0400
-@@ -234,6 +234,7 @@ associated with the first REGEXP which m
+diff -u emacs-23.2/lisp/net/browse-url.el.xdg emacs-23.2/lisp/net/browse-url.el
+--- emacs-23.2/lisp/net/browse-url.el.xdg 2010-04-04 08:26:06.000000000 +1000
++++ emacs-23.2/lisp/net/browse-url.el 2010-08-16 16:49:33.000000000 +1000
+@@ -234,6 +234,7 @@
function is passed the URL and any other args of `browse-url'. The last
regexp should probably be \".\" to specify a default browser."
:type '(choice
@@ -9,7 +9,7 @@ diff -up emacs-23.1/lisp/net/browse-url.el.xdg emacs-23.1/lisp/net/browse-url.el
(function-item :tag "Emacs W3" :value browse-url-w3)
(function-item :tag "W3 in another Emacs via `gnudoit'"
:value browse-url-w3-gnudoit)
-@@ -266,6 +267,23 @@ regexp should probably be \".\" to speci
+@@ -266,6 +267,23 @@
:version "21.1"
:group 'browse-url)
@@ -33,7 +33,12 @@ diff -up emacs-23.1/lisp/net/browse-url.el.xdg emacs-23.1/lisp/net/browse-url.el
(defcustom browse-url-netscape-program "netscape"
;; Info about netscape-remote from Karl Berry.
"The name by which to invoke Netscape.
-@@ -876,6 +894,8 @@ The order attempted is gnome-moz-remote,
+@@ -885,10 +903,12 @@
+ When called non-interactively, optional second argument NEW-WINDOW is
+ used instead of `browse-url-new-window-flag'.
+
+-The order attempted is gnome-moz-remote, Mozilla, Firefox,
++The order attempted is xdg-open, gnome-moz-remote, Mozilla, Firefox,
Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3."
(apply
(cond
diff --git a/emacs.spec b/emacs.spec
index fed42ea..feea250 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 23.2
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPLv3+
URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors
@@ -444,6 +444,10 @@ update-desktop-database &> /dev/null || :
%{_datadir}/applications/emacs-terminal.desktop
%changelog
+* Thu Aug 19 2010 Karel Klic <kklic at redhat.com> - 1:23.2-12
+- Mention xdg-open in browse-url-default-browser docstring (rhbz#624359)
+ Updates emacs-23.1-xdg.patch
+
* Tue Aug 17 2010 Karel Klic <kklic at redhat.com> - 1:23.2-11
- Own /usr/bin/emacs (rhbz#614935)
- Updated the handling of alternatives to match
More information about the scm-commits
mailing list