[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spell-fu 5915e0ae2a 24/86: Cleanup: use safer sharp-quoted
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spell-fu 5915e0ae2a 24/86: Cleanup: use safer sharp-quoted function names |
Date: |
Thu, 7 Jul 2022 12:03:40 -0400 (EDT) |
branch: elpa/spell-fu
commit 5915e0ae2a46c828b058f03c35f5cb3d8c131985
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: use safer sharp-quoted function names
---
spell-fu.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/spell-fu.el b/spell-fu.el
index cb7dc2f3f1..ef6107f6e5 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -330,7 +330,7 @@ save some time by not spending time reading it back."
(with-temp-buffer
(insert-file-contents-literally words-file)
(setq word-table
- (make-hash-table :test 'equal :size (count-lines (point-min)
(point-max))))
+ (make-hash-table :test #'equal :size (count-lines (point-min)
(point-max))))
(while (not (eobp))
(let ((l (buffer-substring-no-properties (line-beginning-position)
(line-end-position))))
;; Value of 't' is just for simplicity, it's no used except for
check the item exists.
@@ -507,12 +507,12 @@ Argument FACES-EXCLUDE faces to check POS excludes or
ignored when nil."
;; because we want the font faces (comments, string etc) to be set so
;; the spell checker can read these values which may include/exclude words.
(spell-fu--with-add-hook-depth-override 100
- (jit-lock-register 'spell-fu--font-lock-fontify-region)))
+ (jit-lock-register #'spell-fu--font-lock-fontify-region)))
(defun spell-fu--immediate-disable ()
"Disable immediate spell checking."
(spell-fu--remove-overlays)
- (jit-lock-unregister 'spell-fu--font-lock-fontify-region))
+ (jit-lock-unregister #'spell-fu--font-lock-fontify-region))
;; ---------------------------------------------------------------------------
@@ -588,7 +588,7 @@ range POINT-START to POINT-END. Otherwise remove all
overlays."
"Add the global idle timer."
(unless spell-fu--idle-timer
(setq spell-fu--idle-timer
- (run-with-idle-timer spell-fu-idle-delay t
'spell-fu--idle-handle-pending-ranges))))
+ (run-with-idle-timer spell-fu-idle-delay t
#'spell-fu--idle-handle-pending-ranges))))
(defun spell-fu--idle-timer-disable ()
"Remove the global idle timer."
@@ -603,12 +603,12 @@ range POINT-START to POINT-END. Otherwise remove all
overlays."
;; Nevertheless, this avoids the possibility of spell checking
;; running before font-faces have been set.
(spell-fu--with-add-hook-depth-override 100
- (jit-lock-register 'spell-fu--idle-font-lock-region-pending))
+ (jit-lock-register #'spell-fu--idle-font-lock-region-pending))
(spell-fu--idle-timer-enable))
(defun spell-fu--idle-disable ()
"Disable the idle style of updating."
- (jit-lock-unregister 'spell-fu--idle-font-lock-region-pending)
+ (jit-lock-unregister #'spell-fu--idle-font-lock-region-pending)
(spell-fu--idle-timer-disable)
(spell-fu--idle-remove-overlays))
- [nongnu] elpa/spell-fu 2590ee3002 80/86: Cleanup: remove cl-remove-if-not, (continued)
- [nongnu] elpa/spell-fu 2590ee3002 80/86: Cleanup: remove cl-remove-if-not, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1299bfca2e 85/86: Merge pull request 'Fix wrong function name for multiple languages example' (#27) from kepi/emacs-spell-fu:master into master, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 907271a557 03/86: Cleanup: unnecessary 'let' nesting, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 3898e6f591 04/86: Cleanup: remove use of exception handling, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ae4504f14d 07/86: Fix using hard coded en_US dictionary, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu f2b7d58e87 08/86: Cleanup: correct comment, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1e6928f77d 05/86: Cleanup: add message for generating cache, some comments, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu bd76cb262e 15/86: Avoid 2x loops over the pending screen overlays, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 4f9732492c 01/86: Initial code., ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 6a7440044e 19/86: Cleanup: rename variables to make the assignment explicit, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 5915e0ae2a 24/86: Cleanup: use safer sharp-quoted function names,
ELPA Syncer <=
- [nongnu] elpa/spell-fu 3f4fc34204 32/86: Add 'spell-fu-buffer' utility, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ddad489f2c 43/86: Adds affix dict support via aspell expand cmd, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ce64f4bc4d 51/86: Cleanup: remove arguments that are always fixed, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1b765f8029 58/86: Cleanup: replace setq with let binding, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1159eeec13 63/86: Fix including trailing single-quote in the word, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 32fcbd9e8e 68/86: Initial changes for multiple dictionaries, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1f3e5b8f05 72/86: readme: Fix typos, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 2f2fd6de00 83/86: Change URL to codeberg, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 00b75e5741 25/86: Cleanup: docstring, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 1bc18879b6 27/86: Add license file, ELPA Syncer, 2022/07/07