branch: externals/pulsar commit b1634a728d068b3cf7f137cf06e4b51135ee69da Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Move the basic user options closer to the top --- pulsar.el | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/pulsar.el b/pulsar.el index 2933507b5a..bf0ccccf89 100644 --- a/pulsar.el +++ b/pulsar.el @@ -87,6 +87,30 @@ Extension of `pulse.el'." ;;;; User options +(defcustom pulsar-pulse t + "When non-nil enable pulsing. +Otherwise the highlight stays on the current line until another +command is invoked." + :type 'boolean + :package-version '(pulsar . "0.2.0") + :group 'pulsar) + +(defcustom pulsar-delay 0.05 + "Delay between increments of a pulse. +Together with `pulsar-iterations' control the overall duration of +a pulse. Only applies when `pulsar-pulse' is non-nil." + :type 'number + :package-version '(pulsar . "0.1.0") + :group 'pulsar) + +(defcustom pulsar-iterations pulse-iterations + "Number of iterations in a pulse highlight. +Together with `pulsar-delay' control the overall duration of a +pulse. Only applies when `pulsar-pulse' is non-nil." + :type 'number + :package-version '(pulsar . "0.1.0") + :group 'pulsar) + (defcustom pulsar-pulse-functions '(backward-page bookmark-jump @@ -238,30 +262,6 @@ background attribute." :package-version '(pulsar . "1.2.0") :group 'pulsar) -(defcustom pulsar-pulse t - "When non-nil enable pulsing. -Otherwise the highlight stays on the current line until another -command is invoked." - :type 'boolean - :package-version '(pulsar . "0.2.0") - :group 'pulsar) - -(defcustom pulsar-delay 0.05 - "Delay between increments of a pulse. -Together with `pulsar-iterations' control the overall duration of -a pulse. Only applies when `pulsar-pulse' is non-nil." - :type 'number - :package-version '(pulsar . "0.1.0") - :group 'pulsar) - -(defcustom pulsar-iterations pulse-iterations - "Number of iterations in a pulse highlight. -Together with `pulsar-delay' control the overall duration of a -pulse. Only applies when `pulsar-pulse' is non-nil." - :type 'number - :package-version '(pulsar . "0.1.0") - :group 'pulsar) - ;;;; Faces (defgroup pulsar-faces ()