[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pulsar db89c709f4 05/10: Document the user option pulsa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pulsar db89c709f4 05/10: Document the user option pulsar-resolve-pulse-function-aliases |
Date: |
Tue, 20 Aug 2024 12:58:58 -0400 (EDT) |
branch: externals/pulsar
commit db89c709f41566ace42487a91a6662818566126b
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Document the user option pulsar-resolve-pulse-function-aliases
This was contributed by shipmints in pull request 12:
<https://github.com/protesilaos/pulsar/pull/12>.
---
README.org | 10 ++++++++++
pulsar.el | 17 +++++++++++++----
2 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index f937d1de77..be2d82fa48 100644
--- a/README.org
+++ b/README.org
@@ -74,6 +74,16 @@ in the user option ~pulsar-pulse-functions~ and the effect
takes place
when either ~pulsar-mode~ (buffer-local) or ~pulsar-global-mode~ is
enabled.
+#+vindex; pulsar-resolve-pulse-function-aliases
+By default, Pulsar does not try behave the same way for a function's
+aliases. If those are no added explicitly to the ~pulsar-pulse-functions~,
+they will not have a pulse effect. However, the user option
+~pulsar-resolve-pulse-function-aliases~ can be set to a non-nil value
+to change this behaviour, meaning that Pulsar will cover a function's
+aliases even if those are not explicitly added to the ~pulsar-pulse-functions~.
+[ The ~pulsar-resolve-pulse-function-aliases~ is part of
+ {{{development-version}}}. ]
+
#+vindex: pulsar-delay
#+vindex: pulsar-iterations
#+vindex: pulsar-face
diff --git a/pulsar.el b/pulsar.el
index c984bc0d31..814ab9f014 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -32,6 +32,14 @@
;; takes place when either `pulsar-mode' (buffer-local) or
;; `pulsar-global-mode' is enabled.
;;
+;; By default, Pulsar does not try behave the same way for a
+;; function's aliases. If those are no added explicitly to the
+;; `pulsar-pulse-functions', they will not have a pulse effect.
+;; However, the user option `pulsar-resolve-pulse-function-aliases'
+;; can be set to a non-nil value to change this behaviour, meaning
+;; that Pulsar will cover a function's aliases even if those are not
+;; explicitly added to the `pulsar-pulse-functions'.
+;;
;; The overall duration of the highlight is determined by a combination
;; of `pulsar-delay' and `pulsar-iterations'. The latter determines the
;; number of blinks in a pulse, while the former sets their delay in
@@ -132,11 +140,12 @@ This only takes effect when `pulsar-mode' (buffer-local)
or
:group 'pulsar)
(defcustom pulsar-resolve-pulse-function-aliases nil
- "When non-nil, resolve function aliases in pulsar-pulse-functions.
-This allows pulsar to respect, e.g., tab-new's \"parent,\" tab-bar-new-tab,
-and vice-versa, enabling pulsar to respect tab-bar-new-tab's alias tab-new."
+ "When non-nil, resolve function aliases in `pulsar-pulse-functions'.
+This allows pulsar to respect, e.g., `tab-new' \"parent,\"
+`tab-bar-new-tab', and vice-versa, enabling Pulsar to respect
+`tab-bar-new-tab' alias `tab-new'."
:type 'boolean
- :package-version '(pulsar . "1.0.2")
+ :package-version '(pulsar . "1.1.0")
:group 'pulsar)
(make-obsolete 'pulsar-pulse-on-window-change nil "0.5.0")
- [elpa] externals/pulsar updated (be7da4d90a -> a179042c96), ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar bfcde8f575 03/10: Merge pull request #12 from shipmints/function-aliases, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar e1ce78814c 02/10: Changed pulsar--find-fn-aliases to commandp to filter only interactive commands., ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar 478afa3ca2 04/10: Acknowledge shipmints for commits 2d212ee, e1ce788, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar 9f76a1136c 08/10: Fix typo in Commentary, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar b506118adf 09/10: Remove spacing from the front matter of README.org, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar a179042c96 10/10: Placate the compiler about quoting a symbol in a doc string, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar 61c316d968 06/10: Corrected readme typo no to not. Added tab-previous for completeness., ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar d636a23a05 07/10: Merge pull request #13 from shipmints/typo-and-tab-alias, ELPA Syncer, 2024/08/20
- [elpa] externals/pulsar db89c709f4 05/10: Document the user option pulsar-resolve-pulse-function-aliases,
ELPA Syncer <=
- [elpa] externals/pulsar 2d212eee94 01/10: Added optional support for pulsar-pulse-functions bi-directional alias resolution., ELPA Syncer, 2024/08/20