mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Merge pull request from tzz/tzz/remove-use-package-from-custom-enabled-themes
Remove use-package theme from global list of custom-enabled-themes GitHub-reference: https://github.com/jwiegley/use-package/issues/899
This commit is contained in:
commit
e4daf0cd42
1 changed files with 8 additions and 3 deletions
|
|
@ -43,10 +43,15 @@
|
|||
(require 'cl-lib)
|
||||
(require 'tabulated-list)
|
||||
|
||||
;; Declare a synthetic theme for :custom variables.
|
||||
;; Necessary in order to avoid having those variables saved by custom.el.
|
||||
(deftheme use-package)
|
||||
(eval-and-compile
|
||||
;; Declare a synthetic theme for :custom variables.
|
||||
;; Necessary in order to avoid having those variables saved by custom.el.
|
||||
(deftheme use-package))
|
||||
|
||||
(enable-theme 'use-package)
|
||||
;; Remove the synthetic use-package theme from the enabled themes, so
|
||||
;; iterating over them to "disable all themes" won't disable it.
|
||||
(setq custom-enabled-themes (remq 'use-package custom-enabled-themes))
|
||||
|
||||
(if (and (eq emacs-major-version 24) (eq emacs-minor-version 3))
|
||||
(defsubst hash-table-keys (hash-table)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue