changeset 46772:9bc85060942d

(ibuffer-hooks): Rename to `ibuffer-hook'; Add defvaralias for compatibility. (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add defvaralias for compatibility.
author Colin Walters <walters@gnu.org>
date Thu, 01 Aug 2002 01:24:10 +0000
parents 2d8471dfb156
children 83564780d380
files lisp/ibuffer.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Thu Aug 01 01:21:18 2002 +0000
+++ b/lisp/ibuffer.el	Thu Aug 01 01:24:10 2002 +0000
@@ -289,15 +289,17 @@
   :type '(repeat function)
   :group 'ibuffer)
 
-(defcustom ibuffer-hooks nil
+(defcustom ibuffer-hook nil
   "Hooks run when `ibuffer' is called."
   :type 'hook
   :group 'ibuffer)
+(defvaralias 'ibuffer-hooks 'ibuffer-hook)
 
-(defcustom ibuffer-mode-hooks nil
+(defcustom ibuffer-mode-hook nil
   "Hooks run upon entry into `ibuffer-mode'."
   :type 'hook
   :group 'ibuffer)
+(defvaralias 'ibuffer-mode-hooks 'ibuffer-mode-hook)
 
 (defcustom ibuffer-marked-face 'font-lock-warning-face
   "Face used for displaying marked buffers."