Disable M-x customize & M-x customize-themes
This commit is contained in:
parent
186a923643
commit
d873e75e63
1 changed files with 6 additions and 0 deletions
|
@ -616,6 +616,12 @@ startup (or theme switch) time, so long as `doom--prefer-theme-elc' is non-nil."
|
||||||
;;
|
;;
|
||||||
;;; Fixes/hacks
|
;;; Fixes/hacks
|
||||||
|
|
||||||
|
;; Doom doesn't support `customize' and it never will. It's a clumsy interface
|
||||||
|
;; for something that should be configured from only one place ($DOOMDIR), so we
|
||||||
|
;; disable them.
|
||||||
|
(put 'customize 'disabled "Doom doesn't support `customize', configure Emacs from $DOOMDIR/config.el instead")
|
||||||
|
(put 'customize-themes 'disabled "Set `doom-theme' or use `load-theme' in $DOOMDIR/config.el instead")
|
||||||
|
|
||||||
;; doesn't exist in terminal Emacs; we define it to prevent errors
|
;; doesn't exist in terminal Emacs; we define it to prevent errors
|
||||||
(unless (fboundp 'define-fringe-bitmap)
|
(unless (fboundp 'define-fringe-bitmap)
|
||||||
(fset 'define-fringe-bitmap #'ignore))
|
(fset 'define-fringe-bitmap #'ignore))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue