Skip to content

Instantly share code, notes, and snippets.

@hchbaw
Created April 7, 2010 17:13
Show Gist options
  • Save hchbaw/359142 to your computer and use it in GitHub Desktop.
Save hchbaw/359142 to your computer and use it in GitHub Desktop.
diff --git a/auto-install.el b/auto-install.el
index 75b1e04..609239f 100644
--- a/auto-install.el
+++ b/auto-install.el
@@ -858,12 +858,12 @@ (defun auto-install-batch (&optional extension-name)
(defun auto-install-batch-edit ()
"Edit auto-install-batch-list.el"
(interactive)
- (con ((fboundp 'yaoddmuse-edit)
- (yaoddmuse-edit "EmacsWiki" "auto-install-batch-list.el"))
- ((fboundp 'oddmuse-edit)
- (oddmuse-edit "EmacsWiki" "auto-install-batch-list.el"))
- (t
- (browse-url "http://www.emacswiki.org/emacs/?action=edit;id=auto-install-batch-list.el"))))
+ (cond ((fboundp 'yaoddmuse-edit)
+ (yaoddmuse-edit "EmacsWiki" "auto-install-batch-list.el"))
+ ((fboundp 'oddmuse-edit)
+ (oddmuse-edit "EmacsWiki" "auto-install-batch-list.el"))
+ (t
+ (browse-url "http://www.emacswiki.org/emacs/?action=edit;id=auto-install-batch-list.el"))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Utilities Functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun auto-install-batch-real (&optional extension-name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment