[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote d3d30a5adc 10/19: Rename a private function for
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote d3d30a5adc 10/19: Rename a private function for consistency and tweak its docstring |
Date: |
Wed, 19 Jun 2024 03:57:54 -0400 (EDT) |
branch: externals/denote
commit d3d30a5adc5e4099cc75356ea7d5fc65d27cffac
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Rename a private function for consistency and tweak its docstring
This builds on top of the new fontification feature provided by
Abdul-Lateef Haji-Ali in
pull request 344 (commit 4d12452):
<https://github.com/protesilaos/denote/pull/344>.
---
denote.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index 6cc4d204b1..ed8990434d 100644
--- a/denote.el
+++ b/denote.el
@@ -4277,8 +4277,8 @@ Implementation based on the function
`org-activate-links'."
(throw :exit t)))))) ; signal success
nil))
-(defun denote--get-link-url-at-point ()
- "Return the denote link under point.
+(defun denote--get-link-file-path-at-point ()
+ "Return link to the Denote file path at point.
To be used as a `thing-at' provider."
(when-let (id (get-text-property (point) 'denote-link-id))
(concat "file:" (denote-get-path-by-id id))))
@@ -4292,7 +4292,7 @@ To be used as a `thing-at' provider."
(with-eval-after-load 'thingatpt
(make-local-variable 'thing-at-point-provider-alist)
(add-to-list 'thing-at-point-provider-alist
- '(url . denote--get-link-url-at-point))))
+ '(url . denote--get-link-file-path-at-point)))
(font-lock-remove-keywords nil '(denote-fontify-links))
(with-eval-after-load 'thingatpt
(set 'thing-at-point-provider-alist
- [elpa] externals/denote 2b06213c3e 05/19: Rename the denote-link-mouse-map and make minor tweaks to it, (continued)
- [elpa] externals/denote 2b06213c3e 05/19: Rename the denote-link-mouse-map and make minor tweaks to it, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 4d1245223c 01/19: Implemented a fontification method for displaying links and removed buttons, ELPA Syncer, 2024/06/19
- [elpa] externals/denote c10e33a01e 07/19: Make denote-link-open-at-mouse return an error if link is not resolved, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 0e1936b35c 09/19: Make several tweaks to denote-fontify-links, ELPA Syncer, 2024/06/19
- [elpa] externals/denote bb380643f0 03/19: Remove now superfluous 'let' from 'denote-link', ELPA Syncer, 2024/06/19
- [elpa] externals/denote 15c0765951 04/19: Acknowledge Abdul-Lateef Haji-Ali for commit 4d12452, ELPA Syncer, 2024/06/19
- [elpa] externals/denote ca79f359ff 06/19: Make obsolete methods for buttonizing links, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 17dbaaaa2b 14/19: Document 'denote-fontify-links-mode', ELPA Syncer, 2024/06/19
- [elpa] externals/denote 7b1bd891ce 02/19: Untabify and re-indent denote--rename-get-file-info-from-prompts-or-existing, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 76098aaafc 17/19: Remove obsolete code, ELPA Syncer, 2024/06/19
- [elpa] externals/denote d3d30a5adc 10/19: Rename a private function for consistency and tweak its docstring,
ELPA Syncer <=
- [elpa] externals/denote 5dcbf34fea 12/19: Make denote-fontify-links-mode not do anything in Org mode, ELPA Syncer, 2024/06/19
- [elpa] externals/denote f3b2f78dd0 16/19: Tweak how we deal with thing-at-point-provider-alist in denote-fontify-links-mode, ELPA Syncer, 2024/06/19
- [elpa] externals/denote ce1f59af6a 18/19: Add TODO and FIXME for new link fontification mode, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 487692d3af 08/19: Placate the compiler for the denote-fontify-links docstring, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 5aeb714ae9 11/19: Change how denote-fontify-links-mode handles thingatpt dependency, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 2b1210c527 13/19: Reinstate denote-link-markdown-follow, ELPA Syncer, 2024/06/19
- [elpa] externals/denote 7cdb31acee 15/19: Make stylistic tweaks to denote-fontify-links, ELPA Syncer, 2024/06/19
- [elpa] externals/denote efe29e6108 19/19: Remove faulty extra parentheses from a 'delete' in denote-fontify-links-mode, ELPA Syncer, 2024/06/19