[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 22c95b82a4 068/102: Fix: Complete rename of org
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/hyperdrive 22c95b82a4 068/102: Fix: Complete rename of org link functions |
|
Date: |
Wed, 29 Nov 2023 04:00:54 -0500 (EST) |
branch: elpa/hyperdrive
commit 22c95b82a4e17ec41317ba08fd448cfba7b16152
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Fix: Complete rename of org link functions
These functions were renamed in [1: 2678c1d] but some callers outside
of "hyperdrive-org.el" were not updated.
1: 2023-11-17 2678c1d7ca025dbfe83ae7797ed26aca3bef281b
Change: Replace hyperdrive--org- prefix with hyperdrive-org--
---
hyperdrive-lib.el | 4 ++--
hyperdrive.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index b2f9fbc4e6..8d590aaa0b 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1244,7 +1244,7 @@ Otherwise, return nil. SLOT may be one of
;;;; Handlers
-(declare-function hyperdrive--org-link-goto "hyperdrive-org")
+(declare-function hyperdrive-org--link-goto "hyperdrive-org")
(cl-defun hyperdrive-handler-default (entry &key then)
"Load ENTRY's file into an Emacs buffer.
If then, then call THEN with no arguments. Default handler."
@@ -1271,7 +1271,7 @@ If then, then call THEN with no arguments. Default
handler."
(pcase major-mode
('org-mode
(require 'hyperdrive-org)
- (hyperdrive--org-link-goto target))
+ (hyperdrive-org--link-goto target))
('markdown-mode
;; TODO: Handle markdown link
)))
diff --git a/hyperdrive.el b/hyperdrive.el
index deb406781b..0cc21ce246 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -303,12 +303,12 @@ Intended to be passed to `buffer-local-restore-state'.")
(add-hook 'after-change-major-mode-hook
#'hyperdrive--hack-write-contents-functions nil 'local)
;; TODO: Consider checking for existing advice before adding our own.
- (advice-add #'org-insert-link :after
#'hyperdrive--org-insert-link-after-advice))
+ (advice-add #'org-insert-link :after
#'hyperdrive-org--insert-link-after-advice))
(buffer-local-restore-state hyperdrive-mode--state)
(remove-hook 'after-change-major-mode-hook
#'hyperdrive--hack-write-contents-functions 'local)
;; FIXME: Only remove advice when all hyperdrive-mode buffers are killed.
- ;; (advice-remove #'org-insert-link #'hyperdrive--org-insert-link)
+ ;; (advice-remove #'org-insert-link #'hyperdrive-org--insert-link)
))
;; Making it permanent-local keeps the minor mode active even if the
;; user changes the major mode, so the buffer can still be saved back
- [nongnu] elpa/hyperdrive 4277b29b50 023/102: Comment: Remove TODO, (continued)
- [nongnu] elpa/hyperdrive 4277b29b50 023/102: Comment: Remove TODO, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 227a839bf7 058/102: Comment: Remove TODO, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 2678c1d7ca 064/102: Change: Replace hyperdrive--org- prefix with hyperdrive-org--, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 0b5102ac9c 036/102: Meta: Update CHANGELOG, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive d1b68b1a66 048/102: Add: (hyperdrive-entry-format-alist) Consolidate entry formats, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive cc0e3cdfdf 059/102: Tidy: Indentation, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive fa48b80132 060/102: Improve defcustom, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 98761ce57f 007/102: Change: (-menu-hyperdrive) Move definitions of suffix descriptions, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 807b1fd0df 051/102: Change: (hyperdrive--format-host) Remove :with-faces keyword argument, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive d19558893e 035/102: Fix: Require 'rx, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 22c95b82a4 068/102: Fix: Complete rename of org link functions,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 5883d33fca 099/102: Meta: Update changelog, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive e944a86276 077/102: Docs: Say "file" not "entry", ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 514d771d5b 070/102: Use shorthands he//, he/, h// and h/, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive ace50018fa 084/102: Tidy: Remove Imenu compiler warning workaround, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive c433a8ea07 085/102: Tidy: Indentation, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 4144f5530d 090/102: Meta: Update changelog, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 1b17526619 076/102: Docs: Improve wording of acknowledgment, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 281d686f15 083/102: Chore: Remove 27.2 build script, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 456257e607 020/102: Change: (hyperdrive-mirror-set-target) Propertize values, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive e7a01e7f5a 043/102: Fix: Silence byte-compiler, ELPA Syncer, 2023/11/29