[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idle-highlight-mode 5881f796ad 57/59: Minor tweaks to code
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idle-highlight-mode 5881f796ad 57/59: Minor tweaks to code-comments |
Date: |
Thu, 7 Jul 2022 12:00:33 -0400 (EDT) |
branch: elpa/idle-highlight-mode
commit 5881f796ad167a5fd46e8e964733725aa825516f
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Minor tweaks to code-comments
Also update URL
---
idle-highlight-mode.el | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 9b675aabd9..a689ece7a5 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2008-2011 Phil Hagelberg, Cornelius Mika
;; Author: Phil Hagelberg, Cornelius Mika, Campbell Barton
-;; URL: http://www.emacswiki.org/cgi-bin/wiki/IdleHighlight
+;; URL: https://gitlab.com/ideasman42/emacs-idle-highlight-mode
;; Version: 1.1.3
;; Created: 2008-05-13
;; Keywords: convenience
@@ -31,23 +31,18 @@
;;; Commentary:
-;; Based on some snippets by fledermaus from the Emacs channel.
-
;; M-x idle-highlight-mode sets an idle timer that highlights all
-;; occurrences in the buffer of the word under the point.
+;; occurrences in the buffer of the symbol under the point.
;; Enabling it in a hook is recommended if you don't want it enabled
;; for all buffers, just programming ones.
;;
;; Example:
;;
-;; (defun my-coding-hook ()
-;; (when window-system (hl-line-mode t))
+;; (defun my-prog-mode-hook ()
;; (idle-highlight-mode t))
;;
-;; (add-hook 'emacs-lisp-mode-hook 'my-coding-hook)
-;; (add-hook 'ruby-mode-hook 'my-coding-hook)
-;; (add-hook 'js2-mode-hook 'my-coding-hook)
+;; (add-hook 'prog-mode-hook 'my-prog-mode-hook)
;;; Code:
@@ -112,11 +107,13 @@ it'll be called with one parameter (the buffer in
question), and
it should return non-nil to make Global `idle-highlight' Mode not
check this buffer.")
+
;; ---------------------------------------------------------------------------
;; Internal Variables
(defvar-local idle-highlight--overlays nil "Buffer-local list of overlays.")
+
;; ---------------------------------------------------------------------------
;; Internal Functions
- [nongnu] elpa/idle-highlight-mode f6ea983df9 06/59: Remove previous highlights if there's nothing to highlight at point., (continued)
- [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, 2022/07/07
- [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 <=
- [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
- [nongnu] elpa/idle-highlight-mode 5418252a11 59/59: Change URL to codeberg, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 53b4e3c855 45/59: Add option idle-highlight-exceptions-syntax, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 459720cd2e 29/59: Add `global-idle-highlight-mode` (globalized minor mode), ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode defcfe2756 54/59: Fix #1 face exceptions interact badly with hl-line-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 1f40f80921 30/59: Remove "end" from idle-highlight-exceptions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode 305e9d4aa0 26/59: Cleanup: remove intermediate symbol type variable, ELPA Syncer, 2022/07/07
- [nongnu] elpa/idle-highlight-mode eaac86a1a2 49/59: Add idle-highlight-visible-buffers to apply to all buffers, ELPA Syncer, 2022/07/07