[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] emacs-wiki-url-protocol bug
From: |
J. Bromley |
Subject: |
[emacs-wiki-discuss] emacs-wiki-url-protocol bug |
Date: |
Sat, 5 Feb 2005 05:07:28 +0000 (UTC) |
User-agent: |
slrn/0.9.8.1 (Linux) |
Hello,
I believe I've found a bug involving the emacs-wiki-url-protocols custom
variable. I was trying to set one of the protocols using the customization
buffer but I kept getting the following:
Saving emacs-wiki-url-protocols: Invalid function: nil.
I took a look at the defcustom in emacs-wiki.el and saw that the
emacs-wiki-browse-url-man and emacs-wiki-browse-url-info had their resolve
function set to nil. I changed the nil to identity and this fixed it.
Everything seems to continue working, so I provide the following patch to
emacs-wiki.el version 2.67 in case it might be useful for someone.
--- emacs-wiki.stable/emacs-wiki.el 2005-01-28 03:38:34.000000000 -0800
+++ emacs-wiki/emacs-wiki.el 2005-02-04 20:54:47.559017704 -0800
@@ -404,8 +404,8 @@
(load "emacs-wiki-regexps" nil t)
(defcustom emacs-wiki-url-protocols
- '(("info" emacs-wiki-browse-url-info nil)
- ("man" emacs-wiki-browse-url-man nil)
+ '(("info" emacs-wiki-browse-url-info identity)
+ ("man" emacs-wiki-browse-url-man identity)
("google" emacs-wiki-browse-url-google
emacs-wiki-resolve-url-google)
("http" browse-url identity)
Regards.
--
--| Jay Bromley |--| jbromley at gmail dot com |--
- [emacs-wiki-discuss] emacs-wiki-url-protocol bug,
J. Bromley <=