unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Autoloaded defcustoms
@ 2009-01-05 18:21 Lennart Borgman
  2009-01-05 22:15 ` Stefan Monnier
  0 siblings, 1 reply; 14+ messages in thread
From: Lennart Borgman @ 2009-01-05 18:21 UTC (permalink / raw)
  To: Emacs Devel

If you add an autoload cookie to a defcustom

  ;;;###autoload
  (defcustom ourcomments-ido-ctrl-tab nil

and use get-file-autoloads on this then you get a load def

  (defvar ourcomments-ido-ctrl-tab nil "\
  bla bla doc")

  (custom-autoload 'ourcomments-ido-ctrl-tab "ourcomments-util" nil)

This does not take care of :set etc in the defcustom AFAICS. Shouldn't
it do that? (Is this the reason that minor modes defined in libraries
external to Emacs are not turned on properly?)




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

end of thread, other threads:[~2009-01-06 18:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 18:21 Autoloaded defcustoms Lennart Borgman
2009-01-05 22:15 ` Stefan Monnier
2009-01-05 22:22   ` Lennart Borgman
2009-01-06  0:57     ` Juri Linkov
2009-01-06  2:16       ` Lennart Borgman
2009-01-06  3:20     ` Stefan Monnier
2009-01-06 12:27       ` Lennart Borgman
2009-01-06 14:54         ` Stefan Monnier
2009-01-06 15:00           ` Lennart Borgman
2009-01-06 15:07             ` Juri Linkov
2009-01-06 15:17               ` Lennart Borgman
2009-01-06 18:18                 ` Chetan Pandya
2009-01-06 18:21                   ` Lennart Borgman
2009-01-06 18:20                 ` Stefan Monnier

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).