[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vcomplete faca6e8c18 32/91: ; Change all instances of "‘"
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vcomplete faca6e8c18 32/91: ; Change all instances of "‘" and "’" to "`" and "'" respectively |
Date: |
Tue, 24 May 2022 15:59:07 -0400 (EDT) |
branch: elpa/vcomplete
commit faca6e8c18660ea50a0208dae84572312cbcedec
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
; Change all instances of "‘" and "’" to "`" and "'" respectively
---
vcomplete.el | 54 +++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/vcomplete.el b/vcomplete.el
index 0608eeb3fb..c078d1045e 100644
--- a/vcomplete.el
+++ b/vcomplete.el
@@ -31,7 +31,7 @@
;;
;; Usage:
;;
-;; Enable ‘vcomplete-mode’:
+;; Enable `vcomplete-mode':
;;
;; (vcomplete-mode)
;;
@@ -43,7 +43,7 @@
;;
;; When vcomplete-mode is active:
;; - The completion list buffer opens and updates automatically (see
-;; ‘vcomplete-auto-update’).
+;; `vcomplete-auto-update').
;; - The completion list buffer can be controlled through the
;; minibuffer (during minibuffer completion) or the current buffer
;; (during in-buffer completion), if it's visible.
@@ -56,11 +56,11 @@
;;
;; M-RET (C-M-m) chooses the completion at point.
;;
-;; More commands can be added through ‘vcomplete-command-map’:
+;; More commands can be added through `vcomplete-command-map':
;;
;; (define-key vcomplete-command-map [?\C-a] #'my-command)
;;
-;; You can customize ‘vcomplete-mode’ using the customize interface:
+;; You can customize `vcomplete-mode' using the customize interface:
;;
;; M-x customize-group RET vcomplete RET
;;
@@ -77,12 +77,12 @@
:prefix "vcomplete-")
(defcustom vcomplete-auto-update t
- "Whether the ‘*Completions*’ buffer should open and update automatically.
+ "Whether the `*Completions*' buffer should open and update automatically.
Non-nil means automatically open and update.
-Otherwise, operate according to ‘completion-auto-help’."
+Otherwise, operate according to `completion-auto-help'."
:type '(radio
(const :tag "Automatically open and update" t)
- (const :tag "Operate according to ‘completion-auto-help’" nil))
+ (const :tag "Operate according to `completion-auto-help'" nil))
:package-version '(vcomplete . 0.1)
:set (lambda (sym val)
(set-default sym val)
@@ -92,9 +92,9 @@ Otherwise, operate according to ‘completion-auto-help’."
;;;; Completion commands:
(defmacro vcomplete-with-completions-buffer (&rest body)
- "Evaluate BODY with the ‘*Completions*’ buffer temporarily current.
+ "Evaluate BODY with the `*Completions*' buffer temporarily current.
While evaluating body, BUFFER and WINDOW are locally bound to the
-‘*Completions*’ buffer and window respectively."
+`*Completions*' buffer and window respectively."
(declare (indent 0))
`(when-let ((buffer (get-buffer "*Completions*"))
(window (get-buffer-window buffer)))
@@ -102,7 +102,7 @@ While evaluating body, BUFFER and WINDOW are locally bound
to the
(set-buffer buffer)
(unless (eq major-mode 'completion-list-mode)
(user-error
- "The ‘*Completions*’ buffer is set to an incorrect mode"))
+ "The `*Completions*' buffer is set to an incorrect mode"))
,@body)))
(defun vcomplete-current-completion (pos)
@@ -112,7 +112,7 @@ The completion candidate is returned as a list of the form:
If no completion is found, return nil."
(unless (derived-mode-p 'completion-list-mode)
(error "Not in a valid completion list buffer"))
- ;; Modified from code in ‘choose-completion’.
+ ;; Modified from code in `choose-completion'.
(let (beg end noop)
(cond
((and (not (eobp)) (get-text-property pos 'mouse-face))
@@ -128,10 +128,10 @@ If no completion is found, return nil."
`(,(buffer-substring-no-properties beg end) . (,beg . ,end)))))
(defvar vcomplete--last-completion-overlay nil
- "Last overlay created in the ‘*Completions*’ buffer.")
+ "Last overlay created in the `*Completions*' buffer.")
(defun vcomplete--highlight-completion-at-point ()
- "Highlight the completion at point in the ‘*Completions*’ buffer."
+ "Highlight the completion at point in the `*Completions*' buffer."
(while-no-input
(redisplay)
(let ((cur (vcomplete-current-completion (point))))
@@ -144,26 +144,26 @@ If no completion is found, return nil."
'face 'highlight)))))
(defun vcomplete--move-n-completions (n)
- "Move N completions in the ‘*Completions*’ buffer."
+ "Move N completions in the `*Completions*' buffer."
(vcomplete-with-completions-buffer
(next-completion n)
(set-window-point window (point))
(vcomplete--highlight-completion-at-point)))
(defun vcomplete-next-completion (&optional n)
- "Move to the next item in the ‘*Completions*’ buffer.
+ "Move to the next item in the `*Completions*' buffer.
With prefix argument N, move N items (negative N means move backward)."
(interactive "p")
(vcomplete--move-n-completions (or n 1)))
(defun vcomplete-prev-completion (&optional n)
- "Move to the previous item in the ‘*Completions*’ buffer.
+ "Move to the previous item in the `*Completions*' buffer.
With prefix argument N, move N items (negative N means move forward)."
(interactive "p")
(vcomplete--move-n-completions (- (or n 1))))
(defun vcomplete-choose-completion ()
- "Choose the completion at point in the ‘*Completions*’ buffer."
+ "Choose the completion at point in the `*Completions*' buffer."
(interactive)
(when-let ((buf (get-buffer "*Completions*")))
(switch-to-completions)
@@ -175,7 +175,7 @@ With prefix argument N, move N items (negative N means move
forward)."
(define-key map [?\C-p] #'vcomplete-prev-completion)
(define-key map [?\C-\M-m] #'vcomplete-choose-completion)
map)
- "Key map for ‘vcomplete-mode’ commands.")
+ "Key map for `vcomplete-mode' commands.")
;;;; Visual completion mode:
@@ -183,20 +183,20 @@ With prefix argument N, move N items (negative N means
move forward)."
"Last pending completion string.")
(defun vcomplete--set-last-string-in-minibuffer ()
- "Set ‘vcomplete--last-string’ in a minibuffer."
+ "Set `vcomplete--last-string' in a minibuffer."
(while-no-input
(redisplay)
(setq vcomplete--last-string (minibuffer-contents))))
(defun vcomplete--string-in-region ()
"Return a substring according to the markers in
-‘completion-in-region--data’."
+`completion-in-region--data'."
(when completion-in-region--data
(buffer-substring (car completion-in-region--data)
(cadr completion-in-region--data))))
(defun vcomplete--set-last-string-in-region ()
- "Set ‘vcomplete--last-string’ in-region."
+ "Set `vcomplete--last-string' in-region."
(while-no-input
(redisplay)
(setq vcomplete--last-string
@@ -230,12 +230,12 @@ With prefix argument N, move N items (negative N means
move forward)."
(remove-hook 'post-command-hook #'vcomplete--highlight-completion-at-point
t))
(defun vcomplete--setup-completions ()
- "Setup ‘vcomplete-mode’ for the ‘*Completions*’ buffer."
+ "Setup `vcomplete-mode' for the `*Completions*' buffer."
(add-hook 'post-command-hook
#'vcomplete--highlight-completion-at-point nil t))
(defun vcomplete--setup-current ()
- "Setup ‘vcomplete-mode’ for the current buffer."
+ "Setup `vcomplete-mode' for the current buffer."
(vcomplete--reset-vars)
(if-let ((map (assq #'completion-in-region-mode
minor-mode-overriding-map-alist)))
@@ -284,26 +284,26 @@ completion:
(declare-function embark-completions-buffer-candidates "ext:embark")
(defun vcomplete-embark--eliminate-delay (fun &rest args)
- "Call FUN with ‘minibuffer-message-timeout’ locally set to ‘0’."
+ "Call FUN with `minibuffer-message-timeout' locally set to `0'."
(let ((minibuffer-message-timeout 0))
(apply fun args)))
(defun vcomplete-embark--advise-commands ()
- "Advise Embark commands with ‘vcomplete-embark--eliminate-delay’."
+ "Advise Embark commands with `vcomplete-embark--eliminate-delay'."
(dolist (cmd '(embark-act embark-default-action))
(if vcomplete-mode
(advice-add cmd :around #'vcomplete-embark--eliminate-delay)
(advice-remove cmd #'vcomplete-embark--eliminate-delay))))
(defun vcomplete-embark-current-completion (&optional relative)
- "Call ‘embark-target-completion-at-point’ in the ‘*Completions*’ buffer."
+ "Call `embark-target-completion-at-point' in the `*Completions*' buffer."
(when (and vcomplete-mode
(or (minibufferp) completion-in-region-mode))
(vcomplete-with-completions-buffer
(embark-target-completion-at-point relative))))
(defun vcomplete-embark-collect-candidates ()
- "Call ‘embark-completions-buffer-candidates’ in the ‘*Completions*’ buffer."
+ "Call `embark-completions-buffer-candidates' in the `*Completions*' buffer."
(when (and vcomplete-mode
(or (minibufferp) completion-in-region-mode))
(vcomplete-with-completions-buffer
- [nongnu] elpa/vcomplete 371e7c9b77 46/91: ; Add requirement for Embark to vcomplete-embark.el, (continued)
- [nongnu] elpa/vcomplete 371e7c9b77 46/91: ; Add requirement for Embark to vcomplete-embark.el, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete d086a33a1a 49/91: * vcomplete.el (vcomplete-with-completions-buffer): Use 'derived-mode-p', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 20e327acce 53/91: ; Indicate that Embark integration has been moved in the NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 89fd222097 56/91: ; Improve docstring of 'vcomplete--disable-completion-in-region', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 45adfdd13e 55/91: ; Document last commit in the NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete a64c37e780 89/91: ; Generate 'vcomplete-pkg.el' automatically, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 7cd781f7f3 59/91: ; Documentation improvements, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 60b5a005bf 22/91: ; Add last few changes to NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 5e055dc556 30/91: Fix cases where 'completion-in-region-mode' is used in the minibuffer, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 21edba4beb 01/91: Initial commit, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete faca6e8c18 32/91: ; Change all instances of "‘" and "’" to "`" and "'" respectively,
ELPA Syncer <=
- [nongnu] elpa/vcomplete db010f4f61 34/91: Mark variables as risky local variables, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 5fefec3e91 40/91: Fix broken highlighting in completion list buffers when completing in-region, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6136a3ba16 42/91: ; Update NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8ade381c7c 44/91: Move Embark integration to a separate file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b8402112ba 60/91: ; Remove unnecessary declaration, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b30cedbf26 65/91: ; Fix small style issue in info file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8450b1befd 91/91: ; Bump to version 1.2.1, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 4019e76a3d 78/91: New internal function for getting the '*Completions*' window, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 3ac64b6241 87/91: ; Fix info node hyperlink in the commentary of vcomplete.el, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6dbdbf1a4b 82/91: ; Add build manifest, ELPA Syncer, 2022/05/24