mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -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
|
;;; Backports
|
||||||
|
|
||||||
(unless EMACS28+
|
(unless EMACS28+
|
||||||
|
;; `format-spec' wasn't autoloaded until 28
|
||||||
|
(autoload #'format-spec "format-spec")
|
||||||
|
|
||||||
(defun ensure-list (object)
|
(defun ensure-list (object)
|
||||||
"Return OBJECT as a list.
|
"Return OBJECT as a list.
|
||||||
If OBJECT is already a list, return OBJECT itself. If it's
|
If OBJECT is already a list, return OBJECT itself. If it's
|
||||||
|
Reference in New Issue
Block a user