diff options
author | Juanma Barranquero <[email protected]> | 2010-09-14 16:59:42 +0200 |
---|---|---|
committer | Juanma Barranquero <[email protected]> | 2010-09-14 16:59:42 +0200 |
commit | 5e2a84e30d41c4804111d8b2b3d74b40da1c3f57 (patch) | |
tree | 9b6ec01060439d7183cdfe20f32a8e0f403cef84 /lisp/obsolete | |
parent | 6664fc59a8f296117ea98b943f062c0cc0e907c1 (diff) |
Explicitly pass `obarray' to `unintern' to avoid a warning.
* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)
Diffstat (limited to 'lisp/obsolete')
-rw-r--r-- | lisp/obsolete/old-whitespace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el index 4531bc06f8..0245537faa 100644 --- a/lisp/obsolete/old-whitespace.el +++ b/lisp/obsolete/old-whitespace.el @@ -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) |