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:
parent
343def0b1e
commit
210381bdcf
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue