diff options
| author | Kisaragi Hiu <mail@kisaragi-hiu.com> | 2022-09-25 05:35:21 +0900 |
|---|---|---|
| committer | Kisaragi Hiu <mail@kisaragi-hiu.com> | 2022-09-25 05:35:21 +0900 |
| commit | 233f8b723351801910527b4c39c1f85652131f6e (patch) | |
| tree | 3140741cb58eacb60c55a387770e5238915ac68a /evil-org.el | |
| parent | 0d10ff7bb9a3a93d25cd91018b17f0a052b335f3 (diff) | |
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.
Diffstat (limited to 'evil-org.el')
| -rw-r--r-- | evil-org.el | 4 |
1 files 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)) |
