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:
parent
6664fc59a8
commit
5e2a84e30d
4 changed files with 12 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue