From 319ac722d2d3e4fbaf6c28e5e05049e04e7bbdfb Mon Sep 17 00:00:00 2001 From: Jared Finder Date: Sat, 9 Dec 2023 08:14:58 -0800 Subject: [PATCH] Workaround for window tool bar package. --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index 07343fa..fc75a2a 100644 --- a/emacs.el +++ b/emacs.el @@ -15,6 +15,13 @@ (defun global-form-feed-st-mode (&optional arg) ;; Do nothing -- stub )) +(unless (fboundp 'global-window-tool-bar-mode) + ;; If this triggers, make sure to install the `window-tool-bar' + ;; package from GitHub. + (display-warning 'emacs "SETUP ISSUE: window-tool-bar package is not installed.") + (defun global-window-tool-bar-mode (&optional arg) + ;; Do nothing -- stub + )) ;; This file is known to be slow, so add a bit more time here. (cl-incf init-dir--long-load-time-warning 0.1)