Remove trailing whitespace
This commit is contained in:
parent
f1b61d7c7a
commit
3fa6a4cef0
1 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ With a prefix ARG invalidates the cache first."
|
||||||
(if projectile-find-dir-includes-top-level
|
(if projectile-find-dir-includes-top-level
|
||||||
(append '("./") (projectile-current-project-dirs))
|
(append '("./") (projectile-current-project-dirs))
|
||||||
(projectile-current-project-dirs)))
|
(projectile-current-project-dirs)))
|
||||||
|
|
||||||
(defun counsel-projectile--find-dir-action (dir &optional other-window)
|
(defun counsel-projectile--find-dir-action (dir &optional other-window)
|
||||||
"Visit DIR with dired and run `projectile-find-dir-hook'."
|
"Visit DIR with dired and run `projectile-find-dir-hook'."
|
||||||
(funcall (if other-window
|
(funcall (if other-window
|
||||||
|
|
@ -167,7 +167,7 @@ BUFFER may be a string or nil."
|
||||||
(other-window
|
(other-window
|
||||||
(switch-to-buffer-other-window buffer))
|
(switch-to-buffer-other-window buffer))
|
||||||
(t
|
(t
|
||||||
(switch-to-buffer buffer nil 'force-same-window))))
|
(switch-to-buffer buffer nil 'force-same-window))))
|
||||||
|
|
||||||
(defun counsel-projectile--switch-buffer-other-window-action (buffer)
|
(defun counsel-projectile--switch-buffer-other-window-action (buffer)
|
||||||
"Switch to BUFFER in other window.
|
"Switch to BUFFER in other window.
|
||||||
|
|
@ -302,7 +302,7 @@ Relies on `ivy-switch-buffer-transformer'."
|
||||||
(if (eq (get-text-property 0 'type str) 'buffer)
|
(if (eq (get-text-property 0 'type str) 'buffer)
|
||||||
(ivy-switch-buffer-transformer str)
|
(ivy-switch-buffer-transformer str)
|
||||||
str))
|
str))
|
||||||
|
|
||||||
(defun counsel-projectile--matcher (regexp candidates)
|
(defun counsel-projectile--matcher (regexp candidates)
|
||||||
"Return REGEXP-matching CANDIDATES.
|
"Return REGEXP-matching CANDIDATES.
|
||||||
Relies on `ivy--switch-buffer-matcher` and `counsel--find-file-matcher'."
|
Relies on `ivy--switch-buffer-matcher` and `counsel--find-file-matcher'."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue