Skip to content

Commit

Permalink
Workaround for package not installed errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosemer committed Dec 9, 2023
1 parent efe3d4a commit 9a8292a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions emacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a8292a

Please sign in to comment.