aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-26 18:34:30 +0000
committerDave Love2000-03-26 18:34:30 +0000
commit082527febb488157b6a9fdef0b2c8d4341274da6 (patch)
tree57fd03a1f5b6da9844b248c95df8f4fbf252d3cd
parent51ed0ea0235d4b1cc3f868b59b02d5743848b7bf (diff)
downloademacs-082527febb488157b6a9fdef0b2c8d4341274da6.tar.gz
emacs-082527febb488157b6a9fdef0b2c8d4341274da6.zip
(browse-url): Re-fix case of
browse-url-browser-function being an alist. (browse-url): Add :link to defgroup.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/net/browse-url.el41
2 files changed, 26 insertions, 19 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb1db40308d..7e441cd66e3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12000-03-26 Dave Love <fx@gnu.org> 12000-03-26 Dave Love <fx@gnu.org>
2 2
3 * net/browse-url.el (browse-url): Re-fix case of
4 browse-url-browser-function being an alist.
5 (browse-url): Add :link to defgroup.
6
3 * files.el: Doc fixes. 7 * files.el: Doc fixes.
4 (file-truename): Include `[' in wildcard characters. 8 (file-truename): Include `[' in wildcard characters.
5 (automount-dir-prefix): Customize. 9 (automount-dir-prefix): Customize.
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 1ed450100ab..4c5696f1499 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -229,6 +229,7 @@
229(defgroup browse-url nil 229(defgroup browse-url nil
230 "Use a web browser to look at a URL." 230 "Use a web browser to look at a URL."
231 :prefix "browse-url-" 231 :prefix "browse-url-"
232 :link '(emacs-commentary-link "browse-url")
232 :group 'hypermedia) 233 :group 'hypermedia)
233 234
234;;;###autoload 235;;;###autoload
@@ -241,29 +242,31 @@ This is used by the `browse-url-at-point', `browse-url-at-mouse', and
241`browse-url-of-file' commands. 242`browse-url-of-file' commands.
242 243
243If the value is not a function it should be a list of pairs 244If the value is not a function it should be a list of pairs
244(REGEXP . FUNCTION). In this case the function called will be the one 245\(REGEXP . FUNCTION). In this case the function called will be the one
245associated with the first REGEXP which matches the current URL. The 246associated with the first REGEXP which matches the current URL. The
246function is passed the URL and any other args of `browse-url'. The last 247function is passed the URL and any other args of `browse-url'. The last
247regexp should probably be \".\" to specify a default browser." 248regexp should probably be \".\" to specify a default browser."
248 :type '(choice 249 :type '(choice
249 (function-item :tag "Emacs W3" :value browse-url-w3) 250 (function-item :tag "Emacs W3" :value browse-url-w3)
250 (function-item :tag "W3 in another Emacs via `gnudoit'" 251 (function-item :tag "W3 in another Emacs via `gnudoit'"
251 :value browse-url-w3-gnudoit) 252 :value browse-url-w3-gnudoit)
252 (function-item :tag "Netscape" :value browse-url-netscape) 253 (function-item :tag "Netscape" :value browse-url-netscape)
253 (function-item :tag "Mosaic" :value browse-url-mosaic) 254 (function-item :tag "Mosaic" :value browse-url-mosaic)
254 (function-item :tag "Mosaic using CCI" :value browse-url-cci) 255 (function-item :tag "Mosaic using CCI" :value browse-url-cci)
255 (function-item :tag "IXI Mosaic" :value browse-url-iximosaic) 256 (function-item :tag "IXI Mosaic" :value browse-url-iximosaic)
256 (function-item :tag "Lynx in an xterm window" 257 (function-item :tag "Lynx in an xterm window"
257 :value browse-url-lynx-xterm) 258 :value browse-url-lynx-xterm)
258 (function-item :tag "Lynx in an Emacs window" 259 (function-item :tag "Lynx in an Emacs window"
259 :value browse-url-lynx-emacs) 260 :value browse-url-lynx-emacs)
260 (function-item :tag "Grail" :value browse-url-grail) 261 (function-item :tag "Grail" :value browse-url-grail)
261 (function-item :tag "MMM" :value browse-url-mmm) 262 (function-item :tag "MMM" :value browse-url-mmm)
262 (function-item :tag "Specified by `Browse Url Generic Program'" 263 (function-item :tag "Specified by `Browse Url Generic Program'"
263 :value browse-url-generic) 264 :value browse-url-generic)
264 (function-item :tag "Default Windows browser" 265 (function-item :tag "Default Windows browser"
265 :value browse-url-default-windows-browser) 266 :value browse-url-default-windows-browser)
266 (function :tag "Your own function")) 267 (function :tag "Your own function")
268 (alist :tag "Regexp/function association list"
269 :key-type regexp :value-type function))
267 :version "20.4" 270 :version "20.4"
268 :group 'browse-url) 271 :group 'browse-url)
269 272