mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(lib): autoload format-spec on 27.x
This function wasn't autoloaded until 28, causing void-function errors if it's used.
This commit is contained in:
@ -781,6 +781,9 @@ testing advice (when combined with `rotate-text').
|
||||
;;; Backports
|
||||
|
||||
(unless EMACS28+
|
||||
;; `format-spec' wasn't autoloaded until 28
|
||||
(autoload #'format-spec "format-spec")
|
||||
|
||||
(defun ensure-list (object)
|
||||
"Return OBJECT as a list.
|
||||
If OBJECT is already a list, return OBJECT itself. If it's
|
||||
|
Reference in New Issue
Block a user