[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idle-highlight-mode ee5381764c 51/59: Add docstrings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idle-highlight-mode ee5381764c 51/59: Add docstrings |
Date: |
Thu, 7 Jul 2022 12:00:32 -0400 (EDT) |
branch: elpa/idle-highlight-mode
commit ee5381764c28c9291fd6882f0879f453a074c218
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Add docstrings
---
idle-highlight-mode.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 93fb56b481..62e9ee55c7 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -257,6 +257,7 @@ Argument VISIBLE-RANGES is a list of (min . max) ranges to
highlight."
(push ov idle-highlight--overlays))))))))))
(defun idle-highlight--word-at-point-args ()
+ "Return arguments for `idle-highlight--highlight'."
(when (idle-highlight--check-symbol-at-point (point))
(let ((target-range (bounds-of-thing-at-point 'symbol)))
(when (and target-range (idle-highlight--check-faces-at-point (point)))
@@ -266,7 +267,10 @@ Argument VISIBLE-RANGES is a list of (min . max) ranges to
highlight."
(cons target target-range))))))))
(defun idle-highlight--word-at-point-highlight (target target-range
visible-ranges)
- "Highlight the word under the point across all VISIBLE-RANGES."
+ "Highlight the word under the point across all VISIBLE-RANGES.
+
+Arguments TARGET and TARGET-RANGE
+should be the result of `idle-highlight--word-at-point-args'."
(idle-highlight--unhighlight)
(when target
(pcase-let ((`(,target-beg . ,target-end) target-range))
- [nongnu] elpa/idle-highlight-mode f47a2cc796 50/59: Cleanup: replace 'if' with 'cond', (continued)
- [nongnu] elpa/idle-highlight-mode f47a2cc796 50/59: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 7d6eba737d 52/59: Cleanup: remove redundant groups, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 05db87d2a5 32/59: Cleanup: replace defsubst with defun, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 21b63d0502 25/59: Cleanup: simplify coding hook example, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 4f41607fa1 31/59: Add idle-highlight-exceptions-face, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 0a24f8e402 58/59: Cleanup: use brief SPDX license, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 03b5de12a6 56/59: changelog: correct syntax, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode f6ea983df9 06/59: Remove previous highlights if there's nothing to highlight at point., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 83df5da535 05/59: Header, footer, usage comments, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 8b6e0dffd1 03/59: Implement idle highlighting as a minor mode., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode ee5381764c 51/59: Add docstrings,
ELPA Syncer <=
- [nongnu] elpa/idle-highlight-mode 9cbb9f2fde 04/59: Rename file to idle-highlight-mode.el, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 1f3620ba70 14/59: Enable lexical binding., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode f71e575540 13/59: Version 1.1.3, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 9435c1f3ca 41/59: readme: correct references to idle-time, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 768745ef1c 21/59: Cleanup: add code sections, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 0916be7075 53/59: Cleanup: docstrings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 5881f796ad 57/59: Minor tweaks to code-comments, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode e6239e06fd 22/59: Add license file., ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode ac31f75fd0 28/59: Remove local variable when the mode is disabled, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode c7af42119a 38/59: Cleanup: remove unnecessary variable, ELPA Syncer, 2022/07/07