emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoloading of defvaralias possible?


From: Richard Stallman
Subject: Re: autoloading of defvaralias possible?
Date: Thu, 10 Feb 2005 13:40:58 -0500

Does this fix it?

*** novice.el   10 Feb 2005 01:13:28 -0500      1.36
--- novice.el   10 Feb 2005 12:39:35 -0500      
***************
*** 41,50 ****
    "Function to call to handle disabled commands.
  If nil, the feature is disabled, i.e., all commands work normally.")
  
  (defvaralias 'disabled-command-hook 'disabled-command-function)
! (make-obsolete-variable
!  'disabled-command-hook
!  'disabled-command-function "22.1")
  
  ;;;###autoload
  (defun disabled-command-function (&rest ignore)
--- 41,49 ----
    "Function to call to handle disabled commands.
  If nil, the feature is disabled, i.e., all commands work normally.")
  
+ ;;;###autoload
  (defvaralias 'disabled-command-hook 'disabled-command-function)
! ;;;###autoload (make-obsolete-variable 'disabled-command-hook 
'disabled-command-function "22.1")
  
  ;;;###autoload
  (defun disabled-command-function (&rest ignore)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]