Explicitly pass obarray' to unintern' to avoid a warning.

* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)
This commit is contained in:
Juanma Barranquero 2010-09-14 16:59:42 +02:00
parent 6664fc59a8
commit 5e2a84e30d
4 changed files with 12 additions and 2 deletions

View 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):

View 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

View 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

View 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)