fix(cli): void-function always
`always` was added in Emacs 28 and is unavailable to 27.x users, which
is unacceptable while Doom supports 27.x.
Fix: #6532
Amend: 74cc541597
This commit is contained in:
parent
6cb2c6e962
commit
38a3a50951
1 changed files with 8 additions and 0 deletions
|
@ -805,5 +805,13 @@ not a list, return a one-element list containing OBJECT."
|
||||||
object
|
object
|
||||||
(list object))))
|
(list object))))
|
||||||
|
|
||||||
|
;; Introduced in Emacs 28.1
|
||||||
|
(unless (fboundp 'always)
|
||||||
|
(defun always (&rest _arguments)
|
||||||
|
"Do nothing and return t.
|
||||||
|
This function accepts any number of ARGUMENTS, but ignores them.
|
||||||
|
Also see `ignore'."
|
||||||
|
t))
|
||||||
|
|
||||||
(provide 'core-lib)
|
(provide 'core-lib)
|
||||||
;;; core-lib.el ends here
|
;;; core-lib.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue