annotate etc/custom/example-themes/example-theme.el @ 4367:69e6352406f0

Handle macros, autoloads correctly in symbol-file. Add an incomplete TYPE arg. src/ChangeLog addition: 2007-12-30 Aidan Kehoe <kehoea@parhasard.net> * doc.c (Fbuilt_in_symbol_file): Take a new TYPE argument, specifying whether the function or variable definition of the symbol should be searched for. Handle built-in macros correctly. lisp/ChangeLog addition: 2007-12-30 Aidan Kehoe <kehoea@parhasard.net> * loadhist.el (symbol-file): Accept a new TYPE argument, compatible with GNU, saying whether function or variable definitions should be searched for. Implement the functionality for autoloads, handling TYPE correctly. Pass the TYPE argument to built-in-symbol-file correctly. Document that TYPE is not implemented for non-autoloaded Lisp definitions. Our load-history doesn't have the relevant metadata.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 30 Dec 2007 15:33:13 +0100
parents 74fd4e045ea6
children 1de041b8edf7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
1 ;;;autoload
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
2 (deftheme example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
3 "A sample theme for customize theme support."
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
4 :variable-set-string "This variable has been made an example.")
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
5
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
6 (custom-theme-load-themes 'example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
7 'europe)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
8
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
9 (custom-theme-set-variables 'example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
10 '(iswitchb-prompt-newbuffer nil))
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
11
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
12 (provide-theme 'example)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
13
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
14
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
15