diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-05-23 09:18:42 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-05-23 13:36:15 -0700 |
commit | a64cee087fb9c79c85653cab7f532027c832929d (patch) | |
tree | 18213effc362d2e11161ed75d8e2f0371d7a87d0 | |
parent | 68ed6239e41f27755b70d801eece64b55a0b2d64 (diff) | |
download | dotfiles-a64cee087fb9c79c85653cab7f532027c832929d.tar.gz |
set warning-suppress-types using customisation
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 89ca0641..34370b6a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -328,6 +328,7 @@ windows side-by-side in the frame." '(uniquify-buffer-name-style 'post-forward nil (uniquify)) '(use-short-answers t) '(vc-follow-symlinks t) + '(warning-suppress-types '((comp))) '(which-func-modes '(lisp-mode emacs-lisp-mode c-mode)) '(which-function-mode t) '(window-combination-resize t) @@ -1230,10 +1231,6 @@ don't consider windows satisfying the predicate EXCLUDE." (setq shell-file-name "bash") (setenv "BASH_ENV" (expand-file-name "~/.bash_defns"))) -(unless (boundp 'warning-suppress-types) - (setq warning-suppress-types nil)) -(cl-pushnew '(comp) warning-suppress-types :test #'cl-tree-equal) - ;; Invert meaning of C-u for M-= except when the region is active (though, ;; M-i M-= is easier to type than C-u M-=). (defun spw/count-words () |