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-default cursor-in-non-selected-windows nil)
|
||||||
(setq highlight-nonselected-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.
|
;; Don't ping things that look like domain names.
|
||||||
(setq ffap-machine-p-known 'reject)
|
(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
|
;; 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
|
;;; Minibuffer
|
||||||
;; Allow nested minibuffers
|
;; Allow nested minibuffers
|
||||||
(setq enable-recursive-minibuffers t)
|
(setq enable-recursive-minibuffers t)
|
||||||
|
|||||||
Reference in New Issue
Block a user