[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cape e81e3cfd4e 112/146: Indent
From: |
ELPA Syncer |
Subject: |
[elpa] externals/cape e81e3cfd4e 112/146: Indent |
Date: |
Sun, 9 Jan 2022 20:57:47 -0500 (EST) |
branch: externals/cape
commit e81e3cfd4e6a0c111f94d877db43770d83d1a68a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Indent
---
cape.el | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/cape.el b/cape.el
index 08a4fca793..966817f55e 100644
--- a/cape.el
+++ b/cape.el
@@ -311,6 +311,7 @@
(defmacro cape--silent (&rest body)
"Silence BODY."
+ (declare (indent 0))
`(cl-letf ((inhibit-message t)
(message-log-max nil)
((symbol-function #'minibuffer-message) #'ignore))
@@ -504,10 +505,10 @@ If INTERACTIVE is nil the function acts like a capf."
(defun cape--dabbrev-list (word)
"Find all dabbrev expansions for WORD."
(cape--silent
- (cape--dabbrev-reset)
- (cl-loop with min-len = (+ cape-dabbrev-min-length (length word))
- for w in (dabbrev--find-all-expansions word
(dabbrev--ignore-case-p word))
- if (>= (length w) min-len) collect w)))
+ (cape--dabbrev-reset)
+ (cl-loop with min-len = (+ cape-dabbrev-min-length (length word))
+ for w in (dabbrev--find-all-expansions word
(dabbrev--ignore-case-p word))
+ if (>= (length w) min-len) collect w)))
;;;;; cape-ispell
@@ -549,10 +550,10 @@ If INTERACTIVE is nil the function acts like a capf."
"Dictionary words."
(or cape--dict-words
(setq cape--dict-words
- (split-string (with-temp-buffer
- (insert-file-contents-literally cape-dict-file)
- (buffer-string))
- "\n" 'omit-nulls))))
+ (split-string (with-temp-buffer
+ (insert-file-contents-literally cape-dict-file)
+ (buffer-string))
+ "\n" 'omit-nulls))))
;;;###autoload
(defun cape-dict (&optional interactive)
@@ -722,9 +723,9 @@ If INTERACTIVE is nil the function acts like a capf."
(copy-sequence cache-candidates))
(_
(completion--some
- (lambda (table)
- (complete-with-action action table str pred))
- tables))))
+ (lambda (table)
+ (complete-with-action action table str pred))
+ tables))))
:exclusive 'no
:company-prefix-length prefix-len
:company-doc-buffer (funcall extra-fun :company-doc-buffer)
- [elpa] externals/cape b63deab5af 058/146: cape--cached-table: Add category, (continued)
- [elpa] externals/cape b63deab5af 058/146: cape--cached-table: Add category, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 11bcf51724 064/146: Ensure that cape-line is not sorted, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 33850ae000 068/146: Unify cape-dict and cape-dict-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 241dde47ca 070/146: Unify cape-keyword and cape-keyword-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape eaa408779e 072/146: cape-symbol: Implement capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape eff4f34841 084/146: Add cape-noninterruptible-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape fd8828cff3 100/146: Make cape--company-call more robust, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 1d0d3abbd1 102/146: Use namespaced symbol, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 4aec140c08 109/146: Minor cleanup, ELPA Syncer, 2022/01/09
- [elpa] externals/cape b3e2850fcf 108/146: Add unwind-protect, ELPA Syncer, 2022/01/09
- [elpa] externals/cape e81e3cfd4e 112/146: Indent,
ELPA Syncer <=
- [elpa] externals/cape b895c8cf28 114/146: cape-capf-case-fold: Add dont-fold, ELPA Syncer, 2022/01/09
- [elpa] externals/cape c0343a247c 123/146: cape-tex/sgml: Improve docsig, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 6d076f2480 129/146: README: Document company--multi-backend-adapter, ELPA Syncer, 2022/01/09
- [elpa] externals/cape c8c0a9f9a6 134/146: Simplify, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 5319e343bb 136/146: Improve repair function, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 12b00151d1 143/146: Improve and simplify cape-dabbrev, ELPA Syncer, 2022/01/09
- [elpa] externals/cape be2014538a 144/146: cape-dabbrev: Use thing-at-point-looking-at, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 5ccece0e34 146/146: Add to GNU ELPA, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 700c9d7bc2 137/146: Remove cape-repair-misbehaving-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape bc1c1ee9fc 140/146: Make cape-tex etc less aggressive, add cape-tex-prefix-required variable, ELPA Syncer, 2022/01/09