The second parameter to unintern is mandatory-ish in Emacs 24.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 14 Sep 2010 20:22:14 +0000 (22:22 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 14 Sep 2010 20:22:14 +0000 (22:22 +0200)
lisp/ChangeLog
lisp/gnus-registry.el

index 35259af..f4ed974 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-registry.el (gnus-registry-install-shortcuts): The second
+       parameter to unintern is mandatory-ish in Emacs 24.
+
        * gnus-html.el (gnus-html-schedule-image-fetching)
        (gnus-html-prefetch-images): Check for curl before using it.
 
index 5f94582..8ba6c16 100644 (file)
@@ -783,7 +783,7 @@ Uses `gnus-registry-marks' to find what shortcuts to install."
                  (function-name (format function-format variant-name))
                  (shortcut (format "%c" data))
                  (shortcut (if remove (upcase shortcut) shortcut)))
-            (unintern function-name)
+            (unintern function-name obarray)
             (eval
              `(defun
                 ;; function name