• Chong Yidong's avatar
    Drop use of unsafep for checking Custom themes; bugfixes. · 928f4e73
    Chong Yidong authored
    * lisp/custom.el (load-theme): Define return value.  Drop use of
    unsafep; call custom-theme-load-confirm for non-known-safe themes.
    (custom-theme-load-confirm): Scroll in the correct window.
    (custom-enabled-themes): Add custom-safe-themes to :set-after.
    
    * lisp/cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
    checkbox if load-theme fails.
    928f4e73
cus-theme.el 23.2 KB