mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
refactor(lib): backport static-{if,when,unless}
And deprecate our eval-{if,when}! macros.
This commit is contained in:
parent
faea320162
commit
a13719af45
4 changed files with 46 additions and 18 deletions
|
|
@ -596,7 +596,7 @@ which case it will save it without prompting."
|
|||
|
||||
;; Introduced in Emacs 29.
|
||||
;;;###autoload
|
||||
(eval-when! (not (fboundp 'find-sibling-file))
|
||||
(static-unless (fboundp 'find-sibling-file)
|
||||
(defvar find-sibling-rules nil)
|
||||
|
||||
(defun find-sibling-file (file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue