]> git.eshelyaron.com Git - emacs.git/commitdiff
Explicitly pass `obarray' to `unintern' to avoid a warning.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 14 Sep 2010 14:59:42 +0000 (16:59 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 14 Sep 2010 14:59:42 +0000 (16:59 +0200)
* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)

lisp/ChangeLog
lisp/gnus/ChangeLog
lisp/gnus/gnus-registry.el
lisp/obsolete/old-whitespace.el

index 6f80ba5cdc5dbb240711ff49dfc09395b6b61491..b18c6c7817237ca68364eeae59eb18930808cb2c 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
+
+       * obsolete/old-whitespace.el (whitespace-unload-function):
+       Explicitly pass `obarray' to `unintern' to avoid a warning.
+
 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/byte-run.el (set-advertised-calling-convention):
index ced40cf3a326591cc430232d05122e1d50ae86a0..7bb141ccfc0ce874b8e7b5983301225ec62e13af 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnus-registry.el (gnus-registry-install-shortcuts):
+       Explicitly pass `obarray' to `unintern' to avoid a warning.
+
 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-start.el (gnus-read-active-for-groups): Reverted the previous
index 5f945826941a0599e4caf369bbadcd45dc2a2953..8ba6c169bc4e7d36720fdecf6508a1b42a3f8e4b 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
index 4531bc06f81b4024672bcffa76e778042d7db5e9..0245537faaab3a2d4228bc7dde5a6ba20dbed3c9 100644 (file)
@@ -788,7 +788,7 @@ This is meant to be added buffer-locally to `write-file-functions'."
 
 (defun whitespace-unload-function ()
   "Unload the whitespace library."
-  (if (unintern "whitespace-unload-hook")
+  (if (unintern "whitespace-unload-hook" obarray)
       ;; if whitespace-unload-hook is defined, let's get rid of it
       ;; and recursively call `unload-feature'
       (progn (unload-feature 'whitespace) t)