summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-util.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-11 16:15:43 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-11 16:15:43 +1100
commitd4680232fbf3b28a6b37356241456a7c102b2273 (patch)
treeb792d635fcb2a938b191b0d016b3d965f4f90117 /lisp/gnus/gnus-util.el
parent21cfd14d54370cddc1160d30bc47e17c5ac3a162 (diff)
downloademacs-d4680232fbf3b28a6b37356241456a7c102b2273.tar.gz
Remove gnus-make-local-hook
* lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and all its usages).
Diffstat (limited to 'lisp/gnus/gnus-util.el')
-rw-r--r--lisp/gnus/gnus-util.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 950bb7feb95..6b49fc2db02 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -129,14 +129,6 @@ This is a compatibility function for different Emacsen."
(funcall (if (stringp buffer) 'get-buffer 'buffer-name)
buffer))))
-;; The LOCAL arg to `add-hook' is interpreted differently in Emacs and
-;; XEmacs. In Emacs we don't need to call `make-local-hook' first.
-;; It's harmless, though, so the main purpose of this alias is to shut
-;; up the byte compiler.
-(defalias 'gnus-make-local-hook (if (featurep 'xemacs)
- 'make-local-hook
- 'ignore))
-
(defun gnus-delete-first (elt list)
"Delete by side effect the first occurrence of ELT as a member of LIST."
(if (equal (car list) elt)