[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote e2c8d87478 1/2: Rewrite doc string of denote-lin
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote e2c8d87478 1/2: Rewrite doc string of denote-link-buttonize-buffer |
Date: |
Fri, 30 Sep 2022 02:57:32 -0400 (EDT) |
branch: externals/denote
commit e2c8d87478073ebe44f7d676ce2bec2857841b84
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Rewrite doc string of denote-link-buttonize-buffer
---
denote.el | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/denote.el b/denote.el
index 302e2ab04f..f4e23d4238 100644
--- a/denote.el
+++ b/denote.el
@@ -2363,11 +2363,17 @@ file's title. This has the same meaning as in
`denote-link'."
(defun denote-link-buttonize-buffer (&optional beg end)
"Make denote: links actionable buttons in the current buffer.
-Add this to `find-file-hook'. It will only work with Denote
-notes inside the variable `denote-directory' and will not do
-anything in `org-mode' buffers, as buttons already work there.
-If you do not use Markdown or plain text, then you do not need
-this.
+Buttonization applies to the plain text and Markdown file types,
+per the user option `denote-file-types'. It will not do anything
+in `org-mode' buffers, as buttons already work there. If you do
+not use Markdown or plain text, then you do not need this.
+
+Links work when they point to a file inside the variable
+`denote-directory'.
+
+To buttonize links automatically add this function to the
+`find-file-hook'. Or call it interactively for on-demand
+buttonization.
When called from Lisp, with optional BEG and END as buffer
positions, limit the process to the region in-between."