[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/recomplete c4085d13ed 7/7: Cleanup: function sharp quoting
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/recomplete c4085d13ed 7/7: Cleanup: function sharp quoting |
Date: |
Sat, 7 Jan 2023 19:59:39 -0500 (EST) |
branch: elpa/recomplete
commit c4085d13ed64d4be6cfc771b74e07e0febcf0415
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: function sharp quoting
---
recomplete.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/recomplete.el b/recomplete.el
index 4bf0f243ae..0c185a7fb0 100644
--- a/recomplete.el
+++ b/recomplete.el
@@ -189,7 +189,7 @@ Argument LIST compatible list `buffer-undo-list'."
;; Break the chain.
(t
- (remove-hook 'post-command-hook 'recomplete--alist-clear-hook t)
+ (remove-hook 'post-command-hook #'recomplete--alist-clear-hook t)
(setq recomplete--alist nil))))
@@ -202,7 +202,7 @@ Argument FN-CACHE stores the result for reuse."
(pcase-let ((`(,result-choices ,word-beg ,word-end) (or fn-cache '(nil nil
nil))))
(unless result-choices
- (recomplete--with-advice #'ispell-command-loop
+ (recomplete--with-advice 'ispell-command-loop
:override
(lambda (miss _guess _word start end)
(when miss
@@ -241,7 +241,7 @@ Argument FN-CACHE stores the result for reuse."
(let* ((word-init (buffer-substring-no-properties word-beg word-end))
(word-split
(mapcar
- 'downcase
+ #'downcase
(split-string (string-trim (replace-regexp-in-string
"\\([[:lower:]]\\)\\([[:upper:]]\\)"
"\\1_\\2"
@@ -567,7 +567,7 @@ step onto the next item)."
;; Ensure a local hook, which removes it's self on the first
non-successive call
;; to a command that doesn't execute `recomplete-with-callback'
with `fn-symbol'.
- (add-hook 'post-command-hook 'recomplete--alist-clear-hook 0 t)))
+ (add-hook 'post-command-hook #'recomplete--alist-clear-hook 0 t)))
;; Result, success.
t)))))
- [nongnu] elpa/recomplete updated (021ca9b047 -> c4085d13ed), ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete 33a4fdfbd5 3/7: Cleanup: sharp-quote function, ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete 5dd7c4d008 4/7: Fix recomplete when a complete action doesn't add an undo step, ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete 5aa74e66e6 5/7: Use replace in region function that avoids redundant work, ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete c4085d13ed 7/7: Cleanup: function sharp quoting,
ELPA Syncer <=
- [nongnu] elpa/recomplete 403c646e97 2/7: Cleanup: tweak doc-string to quiet checkdoc warning, ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete 11d7dad04e 6/7: Cleanup: emacs native format, ELPA Syncer, 2023/01/07
- [nongnu] elpa/recomplete 7c47e0e064 1/7: Change URL to codeberg (correct URL), ELPA Syncer, 2023/01/07