Move ad-redefinition-action and warning-suppress-types to init.el
This commit is contained in:
@@ -101,11 +101,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
|
||||
(setq-default cursor-in-non-selected-windows nil)
|
||||
(setq highlight-nonselected-windows nil)
|
||||
|
||||
;; Disable warnings from the legacy advice API. They aren't useful.
|
||||
(setq ad-redefinition-action 'accept)
|
||||
|
||||
(setq warning-suppress-types '((lexical-binding)))
|
||||
|
||||
;; Don't ping things that look like domain names.
|
||||
(setq ffap-machine-p-known 'reject)
|
||||
|
||||
|
||||
7
init.el
7
init.el
@@ -34,6 +34,13 @@
|
||||
|
||||
;; Ensure the 'use-package' package is installed and loaded
|
||||
|
||||
;;; Warnings and errors
|
||||
|
||||
;; Disable warnings from the legacy advice API. They aren't useful.
|
||||
(setq ad-redefinition-action 'accept)
|
||||
|
||||
(setq warning-suppress-types '((lexical-binding)))
|
||||
|
||||
;;; Minibuffer
|
||||
;; Allow nested minibuffers
|
||||
(setq enable-recursive-minibuffers t)
|
||||
|
||||
Reference in New Issue
Block a user