[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent |
Date: |
Thu, 11 Nov 2021 03:57:44 -0500 (EST) |
branch: externals/mct
commit 1b0ab0b9d0ea97cb8919d64f6a2f9f8c81df17d5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Untabify and re-indent
---
mct.el | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/mct.el b/mct.el
index bb9714b..fe7f25d 100644
--- a/mct.el
+++ b/mct.el
@@ -139,8 +139,8 @@ Sample configuration:
See Info node `(elisp) Displaying Buffers' for more details
and/or the documentation string of `display-buffer'."
:type '(cons (choice (function :tag "Display Function")
- (repeat :tag "Display Functions" function))
- alist)
+ (repeat :tag "Display Functions" function))
+ alist)
:group 'mct)
(defcustom mct-completions-format 'one-column
@@ -150,9 +150,9 @@ See `completions-format' for possible values.
NOTE that setting this option with `setq' requires a restart of
`mct-mode'."
:set (lambda (var val)
- (when (bound-and-true-p mct-mode)
- (setq completions-format val))
- (set var val))
+ (when (bound-and-true-p mct-mode)
+ (setq completions-format val))
+ (set var val))
:type '(choice (const horizontal) (const vertical) (const one-column))
:group 'mct)
@@ -228,7 +228,7 @@ Add this to `completion-list-mode-hook'."
"Set up line highlighting for the completions' buffer.
Add this to `completion-list-mode-hook'."
(when (and (derived-mode-p 'completion-list-mode)
- (eq mct-completions-format 'one-column))
+ (eq mct-completions-format 'one-column))
(face-remap-add-relative 'hl-line 'mct-hl-line)
(hl-line-mode 1)))
@@ -288,7 +288,7 @@ Meant to be added to `after-change-functions'."
;; don't ring the bell in
`minibuffer-completion-help'
;; when <= 1 completion exists.
(ring-bell-function #'ignore))
- (mct--show-completions))))
+ (mct--show-completions))))
(quit (abort-recursive-edit)))
(minibuffer-hide-completions))))))
@@ -354,7 +354,7 @@ Meant to be added to `after-change-functions'."
(setq overlay (make-overlay pt (point)))
(overlay-put overlay 'face 'mct-stripe)
(overlay-put overlay 'priority -100)))))))
-
+
;;;; Commands and helper functions
;;;;; Focus minibuffer and/or show completions
@@ -377,8 +377,8 @@ Meant to be added to `after-change-functions'."
(defun mct--show-completions ()
"Show the completions' buffer."
(let ((display-buffer-alist
- (cons (cons mct-completion-windows-regexp mct-display-buffer-action)
- display-buffer-alist)))
+ (cons (cons mct-completion-windows-regexp mct-display-buffer-action)
+ display-buffer-alist)))
(save-excursion (minibuffer-completion-help)))
(fit-window-to-buffer (mct--get-completion-window)))
@@ -452,8 +452,8 @@ by `mct-completion-windows-regexp'."
(goto-char (point-at-bol))
(recenter
(- -1
- (min (max 0 scroll-margin)
- (truncate (/ (window-body-height) 4.0))))
+ (min (max 0 scroll-margin)
+ (truncate (/ (window-body-height) 4.0))))
t)))
@@ -476,11 +476,11 @@ point can no longer move in that direction it switches to
the
minibuffer."
(interactive "p" mct-mode)
(if (or (bobp)
- (save-excursion
- (previous-completion 1)
- (and (get-text-property (point) 'completion--string)
- (= (point) (point-min))))
- (eq (point) (1+ (point-min)))) ; see hack in `mct--clean-completions'
+ (save-excursion
+ (previous-completion 1)
+ (and (get-text-property (point) 'completion--string)
+ (= (point) (point-min))))
+ (eq (point) (1+ (point-min)))) ; see hack in `mct--clean-completions'
(mct-focus-minibuffer)
(previous-completion (if (natnump arg) arg 1))))
- [elpa] externals/mct 144a32f 05/70: Add internal function to show completions, (continued)
- [elpa] externals/mct 144a32f 05/70: Add internal function to show completions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 769b1a8 02/70: Use remap where applicable, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 6bd2457 03/70: Ensure that display-line-numbers-mode is bound, ELPA Syncer, 2021/11/11
- [elpa] externals/mct cc8a5c1 09/70: Mention temp-buffer-resize-mode in the docs, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 91586c4 10/70: Fix documentation about manual install method, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 79b2643 07/70: Remove unused user-error message, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 609fd0a 12/70: Move findex and vindex annotations to their actual mentions, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 4882ed6 17/70: Note display-buffer in mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct e75a6c6 19/70: Update mct-display-buffer-action with sample conf, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 982b4ee 20/70: Note mct-completions-format needs mct-mode restart, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1b0ab0b 21/70: Untabify and re-indent,
ELPA Syncer <=
- [elpa] externals/mct 5c0e138 22/70: Recompile texi/info manuald, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 45c272e 25/70: Add a .dir-locals.el file, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 295bac0 28/70: Generate mct.info and mct.texi using a Makefile, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 789174f 31/70: Update sample code with useful built-in extras, ELPA Syncer, 2021/11/11
- [elpa] externals/mct a55130a 06/70: Avoid hardcoding the "Completions" string, ELPA Syncer, 2021/11/11
- [elpa] externals/mct b392b0b 15/70: Allow for completions-format to be configured by the user, ELPA Syncer, 2021/11/11
- [elpa] externals/mct c36c7e8 11/70: Add new option mct-live-completion, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1084f58 16/70: Clarify mct-live-completion doc string, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 310cc42 01/70: Initial commit, ELPA Syncer, 2021/11/11
- [elpa] externals/mct ccce90d 08/70: Make line number selection always exit minibuffer, ELPA Syncer, 2021/11/11