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

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

[elpa] externals/greader 12cc9144dc 03/10: Added customization variable


From: ELPA Syncer
Subject: [elpa] externals/greader 12cc9144dc 03/10: Added customization variable `greader-use-register'.
Date: Thu, 19 May 2022 17:57:50 -0400 (EDT)

branch: externals/greader
commit 12cc9144dc496c5391387d3d6545096a9c1fd1e6
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>

    Added customization variable `greader-use-register'.
---
 greader.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/greader.el b/greader.el
index ea7ca75808..91a8825416 100644
--- a/greader.el
+++ b/greader.el
@@ -160,6 +160,13 @@ the variable `greader-move-to-next-chung' must be set to a 
function that moves t
 For example, if you specify a function that gets a sentence, you should 
specify a function that moves to the next one."
   :type 'function
   :tag "greader get chung of text function")
+(defcustom greader-use-prefix t
+  "if set to t, when you call `greader-read', that function sets a
+  register that points to the actual position in buffer.
+  when you call again `greader-read' with a prefix argument, the point
+  is set at register position then reading starts from there."
+  :type 'boolean
+  :tag "use register")
 (defvar greader-prefix-map (make-sparse-keymap))
 (defvar greader-map (make-sparse-keymap))
 (defvar greader-reading-map (make-sparse-keymap))



reply via email to

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