Mercurial > emacs
annotate .dir-locals.el @ 111018:de901820e0bc
Allow Custom settings to be migrated into a custom theme.
* cus-theme.el (custom-theme--migrate-settings): New var.
(customize-create-theme): Allow editing the `user' theme.
(custom-theme-add-variable, custom-theme-add-var-1)
(custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
to the front of each variable or face widget.
(custom-theme-write): Save theme settings in the correct order.
Optionally, remove saved settings from user customizations.
(custom-theme-write-variables, custom-theme-write-faces): Saved
only the checked widgets.
(customize-themes): Add a link for migrating custom settings.
* custom.el (custom-declare-theme, provide-theme): Use
custom-theme-name-valid-p.
(custom-theme-name-valid-p): Remove checks that are now
unnecessary since themes no longer obey load-path.
* cus-edit.el (custom-variable-value-create): For the simple
style, hide documentation string when hidden.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 16 Oct 2010 20:00:34 -0400 |
parents | 2c36d4f54456 |
children | 132f2dfd549f |
rev | line source |
---|---|
101014 | 1 ((nil . ((tab-width . 8) |
110767
2c36d4f54456
* .dir-locals.el: The Emacs convention is sentence-end-double-space.
Glenn Morris <rgm@gnu.org>
parents:
107432
diff
changeset
|
2 (sentence-end-double-space . t) |
100718
0a3d5993b567
Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
100687
diff
changeset
|
3 (fill-column . 70))) |
100672
38e7317321ea
* make-dist (tempdir): Distribute .dir-locals.el.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
4 (c-mode . ((c-file-style . "GNU"))) |
100718
0a3d5993b567
Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
100687
diff
changeset
|
5 (change-log-mode . ((add-log-time-zone-rule . t) |
101158
4a6ff510dcf9
(change-log-mode): Add bug-reference-url-format and bug-reference-mode.
Juri Linkov <juri@jurta.org>
parents:
101014
diff
changeset
|
6 (fill-column . 74) |
106607
55134161b319
(bug-reference-url-format): Change to debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents:
105015
diff
changeset
|
7 (bug-reference-url-format . "http://debbugs.gnu.org/%s") |
107432
340849d761a5
* .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106607
diff
changeset
|
8 (mode . bug-reference))) |
340849d761a5
* .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106607
diff
changeset
|
9 (diff-mode . ((mode . whitespace)))) |