unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* autoloading of defvaralias possible?
@ 2005-02-09 22:14 Stephan Stahl
  2005-02-10 18:40 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Stahl @ 2005-02-09 22:14 UTC (permalink / raw)


Hi.

The reason i ask if autoloading of an defvaralias is possible is
because of the new variable disabled-command-function and its
obsoleted alias disabled-command-hook.  I used to (setq
disabled-command-hook nil) in my .emacs.  With CVS emacs this does no
longer work because at the time .emacs is loaded the alias is unknown
to emacs.  Would it be possible and desirable to add this alias to
autoload? I think it would be nice not to break such things..

Thanks,
Stephan

PS:
Just in case someone ran into the same problem.. i try to keep my
.emacs as version independent as possible and this is what i came up
with:

(or (and (boundp 'disabled-command-function)
	 (setq disabled-command-function nil))
    (and (boundp 'disabled-command-hook)
	 (setq disabled-command-hook nil)))
-- 
Stephan Stahl

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-10 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 22:14 autoloading of defvaralias possible? Stephan Stahl
2005-02-10 18:40 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).