diff options
| author | James Nguyen <james@jojojames.com> | 2022-06-04 13:51:23 -0400 |
|---|---|---|
| committer | James Nguyen <james@jojojames.com> | 2022-06-04 13:51:23 -0400 |
| commit | 98d28bc67909225a4746c557449c9da816f5d0f5 (patch) | |
| tree | de14e1c289a791047be90549cd62e1e9b90b42e3 | |
| parent | 71e4edc84bdee774d2157b2c4c06eec1880d6a6a (diff) | |
Fix quoting
| -rw-r--r-- | modes/lispy/evil-collection-lispy.el | 12 | ||||
| -rw-r--r-- | modes/minibuffer/evil-collection-minibuffer.el | 2 | ||||
| -rw-r--r-- | modes/mpc/evil-collection-mpc.el | 2 | ||||
| -rw-r--r-- | modes/outline/evil-collection-outline.el | 2 | ||||
| -rw-r--r-- | modes/pdf/evil-collection-pdf.el | 8 | ||||
| -rw-r--r-- | modes/simple-mpc/evil-collection-simple-mpc.el | 7 | ||||
| -rw-r--r-- | modes/smerge/evil-collection-smerge-mode.el | 2 | ||||
| -rw-r--r-- | modes/xwidget/evil-collection-xwidget.el | 15 |
8 files changed, 31 insertions, 19 deletions
diff --git a/modes/lispy/evil-collection-lispy.el b/modes/lispy/evil-collection-lispy.el index 8d836eb..cfbd170 100644 --- a/modes/lispy/evil-collection-lispy.el +++ b/modes/lispy/evil-collection-lispy.el @@ -84,9 +84,11 @@ state." ;; -> `lispyville-insert-at-beginning-of-list' (evil-define-command evil-collection-lispy-insert-at-beginning-of-list (count) - "Enter `evil-collection-lispy-preferred-lispy-state' at the beginning of the current list. -With COUNT, move backward/out COUNT lists first. This is the lispyville -equivalent of `evil-cp-insert-at-beginning-of-form' except for lists only." + "Enter `evil-collection-lispy-preferred-lispy-state' at the start of the list. + +With COUNT, move backward/out COUNT lists first. This is the +lispyville equivalent of `evil-cp-insert-at-beginning-of-form' except for lists +only." (interactive "<c>") (when (lispy--out-backward (or count 1)) (forward-char) @@ -94,7 +96,7 @@ equivalent of `evil-cp-insert-at-beginning-of-form' except for lists only." ;; -> `lispyville-insert-at-end-of-list' (evil-define-command evil-collection-lispy-insert-at-end-of-list (count) - "Enter `lispyville-preferred-state' at the end of the current list. + "Enter `lispyville-preferred-state' at the end of the list. With COUNT, move forward/out COUNT lists first. This is the lispyville equivalent of `evil-cp-insert-at-end-of-form' except for lists only." (interactive "<c>") @@ -578,7 +580,7 @@ Copy of `noc:lispy-delete'." (defun evil-collection-lispy-set-key-theme (theme) "Set `lispy-mode-map' for according to THEME. -THEME is a list of choices: 'special, 'lispy, 'paredit, 'evilcp, +THEME is a list of choices: \='special', \='lispy', \='paredit', \='evilcp', \='c-digits', \='special-evil', \='evil'. This is an exact copy of `lispy-set-key-theme' except with the additions of diff --git a/modes/minibuffer/evil-collection-minibuffer.el b/modes/minibuffer/evil-collection-minibuffer.el index e4a6997..b2b0b11 100644 --- a/modes/minibuffer/evil-collection-minibuffer.el +++ b/modes/minibuffer/evil-collection-minibuffer.el @@ -41,7 +41,7 @@ This function is meant to be hooked in the minibuffer: - (add-hook 'minibuffer-setup-hook 'evil-collection-minibuffer-insert) + (add-hook \='minibuffer-setup-hook \='evil-collection-minibuffer-insert) `evil-set-initial-state' can not be used for the minibuffer since it does not have a mode." diff --git a/modes/mpc/evil-collection-mpc.el b/modes/mpc/evil-collection-mpc.el index 9c29d28..1a09b8c 100644 --- a/modes/mpc/evil-collection-mpc.el +++ b/modes/mpc/evil-collection-mpc.el @@ -45,7 +45,7 @@ ;;;###autoload (defun evil-collection-mpc-setup () - "Setup up 'evil' bindings for 'mpc-mode'." + "Setup up `evil' bindings for `mpc-mode'." (evil-collection-define-key 'normal 'mpc-mode-map "C-j" 'evil-collection-mpc-move-down "C-k" 'evil-collection-mpc-move-up diff --git a/modes/outline/evil-collection-outline.el b/modes/outline/evil-collection-outline.el index 8f13846..053f9a5 100644 --- a/modes/outline/evil-collection-outline.el +++ b/modes/outline/evil-collection-outline.el @@ -48,7 +48,7 @@ For example, \"zB\" is bound to `outline-hide-body' in Outline mode. To turn off this specific binding in Outline minor mode, you can do: - (evil-define-minor-mode-key 'normal 'outline-minor-mode \"zB\" nil)" + (evil-define-minor-mode-key \='normal \='outline-minor-mode \"zB\" nil)" :group 'evil-collection-outline :type 'boolean) diff --git a/modes/pdf/evil-collection-pdf.el b/modes/pdf/evil-collection-pdf.el index 4f4bda1..b7801ac 100644 --- a/modes/pdf/evil-collection-pdf.el +++ b/modes/pdf/evil-collection-pdf.el @@ -56,7 +56,9 @@ ;; See https://github.com/emacs-evil/evil-collection/pull/137 for ;; details. (defun evil-collection-pdf-view-next-line-or-next-page (&optional count) - "'evil' wrapper include a count argument to `pdf-view-next-line-or-next-page'" + "Wrap `pdf-view-next-line-or-next-page' with `evil'. + +Consider COUNT." (interactive "P") (if count (dotimes (_ count nil) @@ -64,7 +66,9 @@ (pdf-view-next-line-or-next-page 1))) (defun evil-collection-pdf-view-previous-line-or-previous-page (&optional count) - "'evil' wrapper include a count argument to `pdf-view-previous-line-or-previous-page'" + "Wrap `pdf-view-previous-line-or-previous-page' with `evil'. + +Consider COUNT." (interactive "P") (if count (dotimes (_ count nil) diff --git a/modes/simple-mpc/evil-collection-simple-mpc.el b/modes/simple-mpc/evil-collection-simple-mpc.el index 7676aff..fea1bb0 100644 --- a/modes/simple-mpc/evil-collection-simple-mpc.el +++ b/modes/simple-mpc/evil-collection-simple-mpc.el @@ -33,7 +33,12 @@ simple-mpc-current-playlist-mode-map)) (defun evil-collection-simple-mpc-set-bindings () - "Set up 'evil' bindings for 'simple-mpc-mode', 'simple-mpc-query-mode', and 'simple-mpc-current-playlist-mode'." + "Set up `evil' bindings for `simple-mpc'. + +Other modes that are configured: +`simple-mpc-mode' +`simple-mpc-query-mode' +`simple-mpc-current-playlist-mode'" (evil-collection-define-key 'normal 'simple-mpc-mode-map "p" 'simple-mpc-toggle ">" 'simple-mpc-next diff --git a/modes/smerge/evil-collection-smerge-mode.el b/modes/smerge/evil-collection-smerge-mode.el index d352fd9..c468056 100644 --- a/modes/smerge/evil-collection-smerge-mode.el +++ b/modes/smerge/evil-collection-smerge-mode.el @@ -33,7 +33,7 @@ ;;;###autoload (defun evil-collection-smerge-mode-setup () - "Setup up 'evil' bindings for 'smerge-mode'." + "Setup up `evil' bindings for `smerge-mode'." (evil-collection-define-key 'normal 'smerge-mode-map "gj" 'smerge-next "]]" 'smerge-next diff --git a/modes/xwidget/evil-collection-xwidget.el b/modes/xwidget/evil-collection-xwidget.el index 3d8f0a4..cfb0d60 100644 --- a/modes/xwidget/evil-collection-xwidget.el +++ b/modes/xwidget/evil-collection-xwidget.el @@ -38,7 +38,8 @@ ;; HACK: elisp byte-opt can't optimize 'format' out, so it's checked at runtime. (defun evil-collection-xwidget-webkit--scroll-trampoline (f n) - "Compatible wrapper for 'xwidget-webkit-scroll-up' and so on. + "Compatible wrapper for `xwidget-webkit-scroll-up' and so on. + F is the name of function, N is the pixel height." (let ((realf (intern (format "%s" f)))) (if (>= emacs-major-version 28) @@ -46,14 +47,14 @@ F is the name of function, N is the pixel height." (funcall realf)))) (defun evil-collection-xwidget-webkit-scroll-half-page-up () - "Compatible wrapper for 'xwidget-webkit-scroll-up'." + "Compatible wrapper for `xwidget-webkit-scroll-up'." (interactive) (evil-collection-xwidget-webkit--scroll-trampoline "xwidget-webkit-scroll-up" (/ (xwidget-window-inside-pixel-height (selected-window)) 2))) (defun evil-collection-xwidget-webkit-scroll-half-page-down () - "Compatible wrapper for 'xwidget-webkit-scroll-down'." + "Compatible wrapper for `xwidget-webkit-scroll-down'." (interactive) (evil-collection-xwidget-webkit--scroll-trampoline "xwidget-webkit-scroll-down" @@ -85,7 +86,7 @@ F is the name of function, N is the pixel height." (setq evil-collection-xwidget-webkit-last-closed-tab-url nil))) (defun evil-collection-xwidget-webkit-search-tabs () - "Search tabs (buffers) with 'buffer-name'." + "Search tabs (buffers) with `buffer-name'." (interactive) (cl-flet ((is-xwidget-webkit-buffer? (b) (with-current-buffer b @@ -106,7 +107,7 @@ F is the name of function, N is the pixel height." (evil-collection-define-key 'normal 'xwidget-webkit-mode-map ;; Mimic vimium (a browser extension) ;; - ;; Since xwidget has no tab concept, 'open-url-new-tab' etc are not + ;; Since xwidget has no tab concept, `open-url-new-tab' etc are not ;; supported. ;; ;; TODO: edit-mode, visual-mode @@ -122,7 +123,7 @@ F is the name of function, N is the pixel height." "l" 'xwidget-webkit-scroll-forward "r" 'xwidget-webkit-reload "yy" 'xwidget-webkit-current-url - ;; TODO 'first-text-input', 'open-link-in-current-tab' + ;; TODO `first-text-input', `open-link-in-current-tab' "gi" 'undefined "f" 'undefined @@ -142,7 +143,7 @@ F is the name of function, N is the pixel height." ;; Manipulating tabs (actually buffers) ;; - ;; Only 'new-tab' and 'close-tab' are supported. + ;; Only `new-tab' and `close-tab' are supported. "t" 'evil-collection-xwidget-webkit-new-tab "x" 'evil-collection-xwidget-webkit-close-tab "X" 'evil-collection-xwidget-webkit-restore-last-closed-tab |
