Skip to content

Commit

Permalink
Define eieio--unbound as an alias for older Emacsen
Browse files Browse the repository at this point in the history
Closes #341.
  • Loading branch information
tarsius committed Dec 24, 2024
1 parent 49f5581 commit 280df13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ similar defect.") :emergency))

(eval-when-compile (require 'subr-x))

(eval-and-compile
(unless (boundp 'eieio--unbound) ; New name since Emacs 28.1.
(defvaralias 'eieio--unbound 'eieio-unbound nil)))

(declare-function info "info" (&optional file-or-node buffer))
(declare-function Man-find-section "man" (section))
(declare-function Man-next-section "man" (n))
Expand Down

0 comments on commit 280df13

Please sign in to comment.