From 233f8b723351801910527b4c39c1f85652131f6e Mon Sep 17 00:00:00 2001 From: Kisaragi Hiu Date: Sun, 25 Sep 2022 05:35:21 +0900 Subject: Fix incorrect obsolescence declarations "obsolete" is not bound, and calling these obsolete functions will just emit a void-function error. It is instead a keyword that should be wrapped in a declare form. evil-org-eol-call is probably also supposed to be replaced by evil-org-define-eol-command, not ...-bol-command. --- evil-org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evil-org.el b/evil-org.el index 22bd783..fe42801 100644 --- a/evil-org.el +++ b/evil-org.el @@ -123,7 +123,7 @@ before calling `evil-org-set-keytheme'." "Go to end of line and call provided function. FUN function callback Optional argument ARGUMENTS arguments to pass to FUN." - (obsolete 'evil-org-define-bol-command "0.9.4") + (declare (obsolete 'evil-org-define-eol-command "0.9.4")) (end-of-visible-line) (apply fun arguments) (evil-insert nil)) @@ -132,7 +132,7 @@ Optional argument ARGUMENTS arguments to pass to FUN." "Go to beginning of line and call provided function. FUN function callback Optional argument ARGUMENTS arguments to pass to FUN." - (obsolete 'evil-org-define-bol-command "0.9.4") + (declare (obsolete 'evil-org-define-bol-command "0.9.4")) (beginning-of-line) (apply fun arguments) (evil-insert nil)) -- cgit v1.0