Mercurial > emacs
view lwlib/lwlib-Xlw.h @ 111013:5ffdb52c377c
Bugfixes for `customize-create-theme'.
* cus-theme.el (customize-create-theme): Delete overlays after
erasing. If given a THEME arg, display only the faces of that arg
instead of custom-theme--listed-faces.
(custom-theme-variable-menu, custom-theme-variable-action)
(custom-variable-reset-theme, custom-theme-delete-variable): Deleted.
(custom-theme-add-variable, custom-theme-add-face): Apply value
from the theme settings, instead of the current value.
(custom-theme-add-var-1, custom-theme-add-face-1): New functions.
(custom-theme-visit-theme): Allow calling outside theme buffers.
(custom-theme-merge-theme): Don't enable the theme when merging.
(custom-theme-write-variables, custom-theme-write-faces): Use the
:shown-value properties to save buffer values, not global ones.
(customize-themes): Display a warning about user customizations.
* cus-edit.el (custom-variable-value-create)
(custom-face-value-create): Obey new special properties
:shown-value and :inhibit-magic.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 15 Oct 2010 20:16:34 -0400 |
parents | e16f43875a48 |
children | ef719132ddfa |
line wrap: on
line source
#ifndef LWLIB_XLW_H #define LWLIB_XLW_H #include "lwlib-int.h" extern widget_creation_entry xlw_creation_table []; extern widget_creation_function xlw_create_dialog; Boolean lw_lucid_widget_p (Widget widget); void xlw_update_one_widget (widget_instance* instance, Widget widget, widget_value* val, Boolean deep_p); void xlw_update_one_value (widget_instance* instance, Widget widget, widget_value* val); void xlw_destroy_instance (widget_instance* instance); void xlw_pop_instance (widget_instance* instance, Boolean up); void xlw_popup_menu (Widget widget, XEvent * event); #endif /* LWLIB_XLW_H */ /* arch-tag: e5b1511d-8992-4dad-b947-a2440d8f10a2 (do not change this comment) */