From 9a8292a0da7ef8414e3370483c16e143e4b5a8ac Mon Sep 17 00:00:00 2001 From: Jared Finder Date: Sat, 9 Dec 2023 08:12:06 -0800 Subject: [PATCH] Workaround for package not installed errors. --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index 4293026..07343fa 100644 --- a/emacs.el +++ b/emacs.el @@ -8,6 +8,13 @@ (defun bar-cursor-mode (&optional arg) ;; Do nothing -- stub )) +(unless (fboundp 'global-form-feed-st-mode) + ;; If this triggers, make sure to install the `form-feed-st' package + ;; from melpa unstable. + (display-warning 'emacs "SETUP ISSUE: form-feed-st package is not installed.") + (defun global-form-feed-st-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)