[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia 4019935 157/241: rename virtual-buffer to co
From: |
Stefan Monnier |
Subject: |
[elpa] externals/marginalia 4019935 157/241: rename virtual-buffer to consult-buffer |
Date: |
Fri, 28 May 2021 20:49:18 -0400 (EDT) |
branch: externals/marginalia
commit 401993562dbf636054dd64988e44d19b5030867f
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
rename virtual-buffer to consult-buffer
---
marginalia.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 7c7058f..4ed8629 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -88,7 +88,7 @@ only with the annotations that come with Emacs) without
disabling
(package . marginalia-annotate-package)
(imenu . marginalia-annotate-imenu)
(bookmark . marginalia-annotate-bookmark)
- (virtual-buffer . marginalia-annotate-virtual-buffer-class))
+ (consult-buffer . marginalia-annotate-consult-buffer-class))
"Lightweight annotator functions.
Associates completion categories with annotation functions.
Each annotation function must return a string,
@@ -101,7 +101,7 @@ See also `marginalia-annotators-heavy'."
'((file . marginalia-annotate-file)
(project-file . marginalia-annotate-project-file)
(buffer . marginalia-annotate-buffer)
- (virtual-buffer . marginalia-annotate-virtual-buffer-full)
+ (consult-buffer . marginalia-annotate-consult-buffer-full)
(command . marginalia-annotate-command))
marginalia-annotators-light)
"Heavy annotator functions.
@@ -320,8 +320,8 @@ This hash table is needed to speed up
`marginalia-annotate-binding'.")
(propertize (format " (%s)" (key-description binding)) 'face
'marginalia-key)))
;; This annotator is consult-specific, it will annotate the `consult-buffer'
command.
-(defun marginalia-annotate-virtual-buffer-class (cand)
- "Annotate virtual-buffer CAND with the buffer class."
+(defun marginalia-annotate-consult-buffer-class (cand)
+ "Annotate consult-buffer CAND with the buffer class."
(marginalia--fields
((pcase (- (elt cand 0) #x100000)
(?b "Buffer")
@@ -334,13 +334,13 @@ This hash table is needed to speed up
`marginalia-annotate-binding'.")
:width -8 :face 'marginalia-documentation)))
;; This annotator is consult-specific, it will annotate the `consult-buffer'
command.
-(defun marginalia-annotate-virtual-buffer-full (cand)
- "Annotate virtual-buffer CAND with the buffer class."
+(defun marginalia-annotate-consult-buffer-full (cand)
+ "Annotate consult-buffer CAND with the buffer class."
(pcase (- (elt cand 0) #x100000)
((or ?b ?h ?p) (marginalia-annotate-buffer (substring cand 1)))
((or ?f ?q) (marginalia-annotate-file (substring cand 1)))
(?m (marginalia-annotate-bookmark (substring cand 1)))
- (_ (marginalia-annotate-virtual-buffer-class cand))))
+ (_ (marginalia-annotate-consult-buffer-class cand))))
(defconst marginalia--advice-regexp
(rx bos
- [elpa] externals/marginalia e833584 103/241: improve marginalia-classify-symbol, (continued)
- [elpa] externals/marginalia e833584 103/241: improve marginalia-classify-symbol, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 40e2881 112/241: fix marginalia-cycle-annotators such that it works as an embark action, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia b1ccaf8 124/241: readme: more robust selectrum config, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 6a64a59 120/241: marginalia-annotate-minor-mode: add local/global indicator, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 4069094 131/241: get rid of marginalia--buffer-bytes, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 1f2a842 133/241: shorter mode-name, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 18cfe23 136/241: marginalia-annotate-virtual-buffer/marginalia-annotate-minor-mode: no narrow prefix, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 3c80428 141/241: fix #41, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 0641467 144/241: convert readme to org in preparation of info file, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2a63616 148/241: update texi, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 4019935 157/241: rename virtual-buffer to consult-buffer,
Stefan Monnier <=
- [elpa] externals/marginalia 12fe439 161/241: right-fringe-width - use eq instead of =, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 327ad58 165/241: use aref instead of elt, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5d15697 169/241: marginalia-annotate-bookmark with no front context still returns filename, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 64fe724 182/241: readme: do not use drawers to prevent export, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2387cba 186/241: marginalia-annotate-minor-mode: Support longer lighters, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5159256 220/241: Fix external declaration for selectrum--get-full, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a081005 215/241: marginalia-annotate-bookmark: Truncate file names (Fix #69), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f89974d 222/241: Remove obsolete comment, completion system updates automatically, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 3669f4d 224/241: Stop using the obsolete project-roots function, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 445d283 234/241: README: Update helper commands (Use remq instead of delq), Stefan Monnier, 2021/05/28