Fix compatibility with Emacs 27

inhibit-buffer-hooks parameter for get-buffer-create was introduced in Emacs 28.
This commit is contained in:
Jessie Hildebrandt 2023-12-04 18:40:10 -05:00
parent b568f0faa9
commit 2050f81860

View File

@ -401,7 +401,7 @@ See `mood-line-defformat' for a helpful formatting macro."
;; ;;
;; -------------------------------------------------------------------------- ;; ;; -------------------------------------------------------------------------- ;;
(defvar mood-line--escape-buffer (get-buffer-create " *mood-line*" t) (defvar mood-line--escape-buffer (get-buffer-create " *mood-line*")
"Buffer used by `mood-line--escape'.") "Buffer used by `mood-line--escape'.")
(defun mood-line--escape (&rest strings) (defun mood-line--escape (&rest strings)