Prepare for future fix *Warnings* buffer and `display-buffer-alist'
This commit is contained in:
parent
416f2435db
commit
e86aab7223
15
README.org
15
README.org
@ -260,9 +260,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
|
|||||||
url-cookie-untrusted-urls '(".*")
|
url-cookie-untrusted-urls '(".*")
|
||||||
use-dialog-box nil
|
use-dialog-box nil
|
||||||
use-short-answers t
|
use-short-answers t
|
||||||
view-read-only t
|
view-read-only t)
|
||||||
;; Suppress the missing lexical-binding cookie warnings.
|
|
||||||
warning-suppress-log-types '((lexical-binding)))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Set the second set of Emacs options: pin packages to archives]:
|
#+caption[Set the second set of Emacs options: pin packages to archives]:
|
||||||
@ -310,10 +308,16 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
|
|||||||
package-selected-packages '(debbugs no-littering))
|
package-selected-packages '(debbugs no-littering))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Set the third set of Emacs options: upgrade Org and transient]:
|
#+caption[Set the third set of Emacs options: tweaks]:
|
||||||
#+caption: Set the third set of Emacs options: upgrade Org and transient.
|
#+caption: Set the third set of Emacs options: tweaks.
|
||||||
#+name: lst:3rd-setopt-call
|
#+name: lst:3rd-setopt-call
|
||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
|
;; Tweak warnings:
|
||||||
|
(setopt warning-display-at-bottom nil
|
||||||
|
;; Suppress the missing lexical-binding cookie warnings.
|
||||||
|
;; warning-suppress-log-types '((lexical-binding))
|
||||||
|
)
|
||||||
|
|
||||||
;; To use different Org git repositories (org or gro):
|
;; To use different Org git repositories (org or gro):
|
||||||
(push (expand-file-name "~/VCS/org-mode/lisp") load-path)
|
(push (expand-file-name "~/VCS/org-mode/lisp") load-path)
|
||||||
(push (expand-file-name "~/VCS/org-contrib/lisp") load-path)
|
(push (expand-file-name "~/VCS/org-contrib/lisp") load-path)
|
||||||
@ -689,6 +693,7 @@ for technical information.
|
|||||||
(inhibit-same-window . nil)))
|
(inhibit-same-window . nil)))
|
||||||
;; Handling the *Warnings* buffer like the *compilation* buffer also fails.
|
;; Handling the *Warnings* buffer like the *compilation* buffer also fails.
|
||||||
;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better.
|
;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better.
|
||||||
|
;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
`(,(rx (or "*compilation*"))
|
`(,(rx (or "*compilation*"))
|
||||||
display-buffer-no-window
|
display-buffer-no-window
|
||||||
|
Loading…
x
Reference in New Issue
Block a user