aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-09-14 16:59:42 +0200
committerJuanma Barranquero2010-09-14 16:59:42 +0200
commit5e2a84e30d41c4804111d8b2b3d74b40da1c3f57 (patch)
tree9b6ec01060439d7183cdfe20f32a8e0f403cef84
parent6664fc59a8f296117ea98b943f062c0cc0e907c1 (diff)
downloademacs-5e2a84e30d41c4804111d8b2b3d74b40da1c3f57.tar.gz
emacs-5e2a84e30d41c4804111d8b2b3d74b40da1c3f57.zip
Explicitly pass `obarray' to `unintern' to avoid a warning.
* gnus/gnus-registry.el (gnus-registry-install-shortcuts) * obsolete/old-whitespace.el (whitespace-unload-function)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-registry.el2
-rw-r--r--lisp/obsolete/old-whitespace.el2
4 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6f80ba5cdc5..b18c6c78172 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-09-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * obsolete/old-whitespace.el (whitespace-unload-function):
4 Explicitly pass `obarray' to `unintern' to avoid a warning.
5
12010-09-14 Stefan Monnier <monnier@iro.umontreal.ca> 62010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * emacs-lisp/byte-run.el (set-advertised-calling-convention): 8 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ced40cf3a32..7bb141ccfc0 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12010-09-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * gnus-registry.el (gnus-registry-install-shortcuts):
4 Explicitly pass `obarray' to `unintern' to avoid a warning.
5
12010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 62010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * gnus-start.el (gnus-read-active-for-groups): Reverted the previous 8 * gnus-start.el (gnus-read-active-for-groups): Reverted the previous
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el
index 5f945826941..8ba6c169bc4 100644
--- a/lisp/gnus/gnus-registry.el
+++ b/lisp/gnus/gnus-registry.el
@@ -783,7 +783,7 @@ Uses `gnus-registry-marks' to find what shortcuts to install."
783 (function-name (format function-format variant-name)) 783 (function-name (format function-format variant-name))
784 (shortcut (format "%c" data)) 784 (shortcut (format "%c" data))
785 (shortcut (if remove (upcase shortcut) shortcut))) 785 (shortcut (if remove (upcase shortcut) shortcut)))
786 (unintern function-name) 786 (unintern function-name obarray)
787 (eval 787 (eval
788 `(defun 788 `(defun
789 ;; function name 789 ;; function name
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el
index 4531bc06f81..0245537faaa 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'."
788 788
789(defun whitespace-unload-function () 789(defun whitespace-unload-function ()
790 "Unload the whitespace library." 790 "Unload the whitespace library."
791 (if (unintern "whitespace-unload-hook") 791 (if (unintern "whitespace-unload-hook" obarray)
792 ;; if whitespace-unload-hook is defined, let's get rid of it 792 ;; if whitespace-unload-hook is defined, let's get rid of it
793 ;; and recursively call `unload-feature' 793 ;; and recursively call `unload-feature'
794 (progn (unload-feature 'whitespace) t) 794 (progn (unload-feature 'whitespace) t)