[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 48afc51ac2 088/102: Fix: (org-open-at-point-fun
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 48afc51ac2 088/102: Fix: (org-open-at-point-functions) Pass full symbol, not shorthand |
Date: |
Wed, 29 Nov 2023 04:00:57 -0500 (EST) |
branch: elpa/hyperdrive
commit 48afc51ac22713f2c54f75a7ea3b5c6b0e12b53d
Author: Joseph Turner <joseph@ushin.org>
Commit: Adam Porter <adam@alphapapa.net>
Fix: (org-open-at-point-functions) Pass full symbol, not shorthand
---
hyperdrive-org.el | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/hyperdrive-org.el b/hyperdrive-org.el
index c8ee2ed0a3..f7845f62d5 100644
--- a/hyperdrive-org.el
+++ b/hyperdrive-org.el
@@ -214,18 +214,20 @@ Respects `hyperdrive-org-link-full-url' and
`org-link-file-path-type'."
(desc-end (org-element-property :contents-end link)))
(buffer-substring desc-begin desc-end)))
+;; NOTE: Autoloads do not support shorthands (yet?), so we use the full symbol
+;; names below.
+;; TODO: Report Emacs bug about autoloads and symbol shorthands.
;;;###autoload
(with-eval-after-load 'org
(org-link-set-parameters "hyper"
- :store #'h/org-link-store
- :follow #'h/org-link-follow
- :complete #'h/org-link-complete)
+ :store #'hyperdrive-org-link-store
+ :follow #'hyperdrive-org-link-follow
+ :complete #'hyperdrive-org-link-complete)
(with-eval-after-load 'hyperdrive
- ;; Handle links with no specified type in `h/mode'
- ;; buffers as links to files within that hyperdrive. Only add
- ;; this function to the variable after `hyperdrive' is loaded so
- ;; that `h/mode' will be defined.
- (cl-pushnew #'h/org--open-at-point org-open-at-point-functions)))
+ ;; Handle links with no specified type in `hyperdrive-mode' buffers as
links
+ ;; to files within that hyperdrive. Only add this function to the variable
+ ;; after `hyperdrive' is loaded so that `hyperdrive-mode' will be defined.
+ (cl-pushnew #'hyperdrive-org--open-at-point org-open-at-point-functions)))
;;;; Footer
- [nongnu] elpa/hyperdrive 826b320333 037/102: Docs: Refer to hyperdrive-menu in installation instructions, (continued)
- [nongnu] elpa/hyperdrive 826b320333 037/102: Docs: Refer to hyperdrive-menu in installation instructions, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 804ec989d3 062/102: Fix "%H" specifier, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive e152a7a370 022/102: Change: (hyperdrive-menu-hyperdrive) Change binding for -set-filter, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 6c295d8b2c 054/102: Add: (--format) Display hyperdrive according to format string, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 210cb2a259 030/102: Fix: (hyperdrive-menu) Require hyperdrive-mirror, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b8ca5ec017 042/102: Fix (hyperdrive-menu-hyperdrive) Autoload, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive dae287e1aa 012/102: Comment: Add transient todos, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive f5d14e4226 050/102: Change: (hyperdrive-preferred-naming) Rename from -default-host-format, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b268bed649 028/102: Change: (hyperdrive-mirror-set-target) Use :always-read nil, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 165f2f9a9d 056/102: Change: Rename variable, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 48afc51ac2 088/102: Fix: (org-open-at-point-functions) Pass full symbol, not shorthand,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive fdf2b7cbff 078/102: Docs: Fix typo, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 211a0c7cba 087/102: Tidy: Indentation, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 4108f968aa 080/102: Tidy: Typo, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive af5daac737 017/102: Change: (-menu-hyperdrive) Use default-directory as default source, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 1e71cec4d0 074/102: Docs: Improve versioning section, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive c6c9bdbb77 082/102: Meta: Depend on transient v0.5.0, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 4aff066a9d 073/102: Docs: Improve naming section, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 5ef8e22cfd 019/102: Change: (hyperdrive-menu-hyperdrive) Simplify wording, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 69d0d16b18 063/102: Use format-spec to customize hyperdrive and entry display, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 9bc9cf44d8 018/102: Fix: (hyperdrive-mirror-read-predicate) Return symbol for named func, ELPA Syncer, 2023/11/29