cp-find-dir: fix typo in "open as root" action fn
This commit is contained in:
parent
12e5293fce
commit
9c350a9c0f
1 changed files with 2 additions and 2 deletions
|
|
@ -413,7 +413,7 @@ The sorting function can be modified by adding an entry for
|
|||
("p" (lambda (_) (counsel-projectile-switch-project))
|
||||
"switch project"))
|
||||
'counsel-projectile)
|
||||
|
||||
|
||||
(defun counsel-projectile--project-directories ()
|
||||
"Return a list of current project's directories."
|
||||
(if projectile-find-dir-includes-top-level
|
||||
|
|
@ -436,7 +436,7 @@ The sorting function can be modified by adding an entry for
|
|||
(counsel-find-file-extern (projectile-expand-root dir))
|
||||
(run-hooks 'projectile-find-dir-hook))
|
||||
|
||||
(defun counsel-projectile-find-file-action-root (dir)
|
||||
(defun counsel-projectile-find-dir-action-root (dir)
|
||||
"Visit DIR as root and run `projectile-find-dir-hook'."
|
||||
(counsel-find-file-as-root (projectile-expand-root dir))
|
||||
(run-hooks 'projectile-find-dir-hook))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue