[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/tablist db7c429 40/60: Reindent
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/tablist db7c429 40/60: Reindent |
Date: |
Sun, 1 Aug 2021 18:19:31 -0400 (EDT) |
branch: elpa/tablist
commit db7c429486f8f6b114679230a435b434e1721f27
Author: Philippe Vaucher <philippe@stvs.ch>
Commit: Philippe Vaucher <philippe.vaucher@gmail.com>
Reindent
---
tablist.el | 92 +++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
diff --git a/tablist.el b/tablist.el
index 5dad1eb..c3acb1a 100644
--- a/tablist.el
+++ b/tablist.el
@@ -78,7 +78,7 @@ column."
(replace-regexp-in-string
"[\t ]+" "[\t ]*" (regexp-quote
(or (thing-at-point 'line) ""))
- t t))
+ t t))
(,id (tabulated-list-get-id))
(,col (tablist-current-column)))
(progn
@@ -291,8 +291,8 @@ as argument for the function `completion-in-region'.")
(defvar savehist-additional-variables)
(add-hook 'savehist-save-hook
- (lambda nil
- (add-to-list 'savehist-additional-variables 'tablist-named-filter)))
+ (lambda nil
+ (add-to-list 'savehist-additional-variables
'tablist-named-filter)))
;;;###autoload
(define-minor-mode tablist-minor-mode
@@ -359,16 +359,16 @@ as argument for the function `completion-in-region'.")
(cancel-timer tablist-context-window-update--timer))
(setq tablist-context-window-update--timer
(run-with-idle-timer 0.1 nil
- (lambda (fn window)
- (when (window-live-p window)
- (with-selected-window window
- (set-window-dedicated-p nil nil)
- (save-selected-window
- (funcall fn id))
- (when (window-live-p (selected-window))
- (set-window-dedicated-p nil t)))))
- tablist-context-window-function
- tablist-context-window))))
+ (lambda (fn window)
+ (when (window-live-p window)
+ (with-selected-window window
+ (set-window-dedicated-p nil nil)
+ (save-selected-window
+ (funcall fn id))
+ (when (window-live-p (selected-window))
+ (set-window-dedicated-p nil t)))))
+ tablist-context-window-function
+ tablist-context-window))))
(defun tablist-display-context-window ()
(interactive)
@@ -645,13 +645,13 @@ proceeds as \(BINOP N OPERAND\)."
(list (funcall fn))))
(t
(cl-labels ((search (re)
- (let (sucess)
- (tablist-skip-invisible-entries)
- (while (and (setq sucess
- (re-search-forward re nil t))
- (invisible-p (point)))
- (tablist-forward-entry))
- sucess)))
+ (let (sucess)
+ (tablist-skip-invisible-entries)
+ (while (and (setq sucess
+ (re-search-forward re nil t))
+ (invisible-p (point)))
+ (tablist-forward-entry))
+ sucess)))
(let ((regexp (tablist-marker-regexp))
next-position results found)
(save-excursion
@@ -1328,20 +1328,20 @@ Return the output buffer."
(unless (buffer-live-p outb)
(error "Expected a live buffer: %s" outb))
(cl-labels
- ((printit (entry)
- (insert
- (mapconcat
- (lambda (e)
- (unless (stringp e)
- (setq e (car e)))
- (if (or always-quote-p
- (string-match escape-re e))
- (concat "\""
- (replace-regexp-in-string "\"" "\"\"" e t t)
- "\"")
- e))
- entry separator))
- (insert ?\n)))
+ ((printit (entry)
+ (insert
+ (mapconcat
+ (lambda (e)
+ (unless (stringp e)
+ (setq e (car e)))
+ (if (or always-quote-p
+ (string-match escape-re e))
+ (concat "\""
+ (replace-regexp-in-string "\"" "\"\"" e t t)
+ "\"")
+ e))
+ entry separator))
+ (insert ?\n)))
(with-current-buffer outb
(let ((inhibit-read-only t))
(erase-buffer)
@@ -1505,12 +1505,12 @@ FILTER defaults to `tablist-current-filter'."
(when (and filter
(null tablist-filter-suspended))
(tablist-with-remembering-entry
- (tablist-map-with-filter
- (lambda nil
- (if tablist-umark-filtered-entries
- (save-excursion (tablist-unmark-forward)))
- (tablist-filter-hide-entry))
- (tablist-filter-negate filter))))
+ (tablist-map-with-filter
+ (lambda nil
+ (if tablist-umark-filtered-entries
+ (save-excursion (tablist-unmark-forward)))
+ (tablist-filter-hide-entry))
+ (tablist-filter-negate filter))))
(force-mode-line-update))
(defadvice tabulated-list-print (after tabulated-list activate)
@@ -1531,12 +1531,12 @@ FILTER defaults to `tablist-current-filter'."
"Call FN for every unfiltered entry matching FILTER."
(prog1
(cl-labels ((search ()
- (tablist-skip-invisible-entries)
- (while (and (not (eobp))
- (not (tablist-eval-filter filter)))
- (tablist-forward-entry))
- (unless (eobp)
- (point-marker))))
+ (tablist-skip-invisible-entries)
+ (while (and (not (eobp))
+ (not (tablist-eval-filter filter)))
+ (tablist-forward-entry))
+ (unless (eobp)
+ (point-marker))))
(let (next-position results)
(save-excursion
(goto-char (point-min))
- [nongnu] elpa/tablist 117c37f 33/60: Added Cask, Makefile and README files, (continued)
- [nongnu] elpa/tablist 117c37f 33/60: Added Cask, Makefile and README files, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 2262a80 35/60: Clear .dir-locals.el, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist f13b8f0 41/60: Improve README, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist c834a84 42/60: Cosmetic changes to tablist, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist af87031 45/60: Add compatibility with Emacs 27, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 389730e 46/60: Add byte-compile target, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 8079801 48/60: Fix invalid argument error, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 61f653f 52/60: Quote commands as functions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 7cd9360 27/60: Merge branch 'master' into options, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 254dc55 28/60: Merge pull request #94 from oscarfv/recolor, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist db7c429 40/60: Reindent,
Philip Kaludercic <=
- [nongnu] elpa/tablist bd0d2bf 50/60: Function quoting, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 3368274 37/60: Merge pull request #1 from syohex/autoload, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist ef38312 38/60: Add another autoload cookie, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist bdfead8 05/60: Make savehist hook more robust., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist de762f1 07/60: Some documentation fixes., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 0c56b65 16/60: Made Keywords: section standard conform., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist a0d1755 25/60: Workaround semantic bug., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 7380227 26/60: Fix compiler warnings., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist 1a2bad1 29/60: Bumped version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/tablist de067b4 30/60: Merge pull request #95 from svend/spelling, Philip Kaludercic, 2021/08/01