annotate etc/custom/example-themes/example-theme.el @ 5940:c608d4b0b75e cygwin64 tip

rescue lost branch from 64bit.backup
author Henry Thompson <ht@markup.co.uk>
date Thu, 16 Dec 2021 18:48:58 +0000
parents 308d34e9f07d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4763
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
1 ;;; example-theme.el --- An example customize theme
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
2
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
3 ;; Copyright (C) 1999 Free Software Foundation, Inc.
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
4
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
5 ;; Author: Jan Vroonhof <jan@xemacs.org>
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
6
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
7 ;; This file is part of XEmacs.
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
8
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
9 ;; XEmacs is free software: you can redistribute it and/or modify it
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
10 ;; under the terms of the GNU General Public License as published by the
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
11 ;; Free Software Foundation, either version 3 of the License, or (at your
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
12 ;; option) any later version.
4763
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
13
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
15 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
16 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
17 ;; for more details.
4763
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
18
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
19 ;; You should have received a copy of the GNU General Public License
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 5231
diff changeset
20 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
4763
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
21
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
22 ;;;autoload
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
23 (deftheme example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
24 "A sample theme for customize theme support."
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
25 :variable-set-string "This variable has been made an example.")
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
26
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
27 (custom-theme-load-themes 'example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
28 'europe)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
29
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
30 (custom-theme-set-variables 'example
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
31 '(iswitchb-prompt-newbuffer nil))
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
32
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
33 (provide-theme 'example)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
34
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
35
4763
1de041b8edf7 Add copyright and license information to files authored by Jan Vroonhof.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
36