emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-remark 8f3b646415 2/3: docs: variable `org-remark-a


From: ELPA Syncer
Subject: [elpa] externals/org-remark 8f3b646415 2/3: docs: variable `org-remark-available-pens'
Date: Mon, 31 Jul 2023 18:58:15 -0400 (EDT)

branch: externals/org-remark
commit 8f3b64641537ce96296956d1e237ce84bc834251
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>

    docs: variable `org-remark-available-pens'
---
 org-remark.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/org-remark.el b/org-remark.el
index 281fb1720f..73594da79f 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -163,7 +163,12 @@ killed so that this needs to be checked with 
`buffer-live-p'.")
   "The cloned indirect buffer visiting the notes file.
 It is meant to exist only one of these in each Emacs session.")
 
-(defvar org-remark-available-pens nil)
+(defvar org-remark-available-pens (list #'org-remark-mark)
+  "A list of pens available.
+Each pen is a function. Users can create a new custom pen with
+using `org-remark-create', which automatically add a new pen
+function this list. It is used by `org-remark-change' as a
+selection list.")
 
 (defvar org-remark-highlights-toggle-hide-functions nil
   "Functions to be called when toggling to hide highlights.
@@ -400,8 +405,6 @@ recommended to turn it on as part of Emacs initialization.
 
 ;;;; Commands
 
-(add-to-list 'org-remark-available-pens #'org-remark-mark)
-
 ;;;###autoload
 (defun org-remark-mark (beg end &optional id mode)
   "Apply face `org-remark-highlighter' to the region between BEG and END.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]