improve some docstrings

Fix #50
This commit is contained in:
Eric Danan 2017-09-05 21:14:40 +02:00
parent cc32e2055a
commit 94a8f753e0

View file

@ -218,7 +218,7 @@ hitting \"M-n\" in the minibuffer.")
;;;###autoload ;;;###autoload
(defun counsel-projectile-ag (&optional options) (defun counsel-projectile-ag (&optional options)
"Ivy version of `projectile-ag'." "Run an ag search in the project."
(interactive) (interactive)
(if (projectile-project-p) (if (projectile-project-p)
(let* ((options (let* ((options
@ -250,7 +250,7 @@ hitting \"M-n\" in the minibuffer.")
;;;###autoload ;;;###autoload
(defun counsel-projectile-rg (&optional options) (defun counsel-projectile-rg (&optional options)
"Ivy version of `projectile-rg'." "Run an rg search in the project."
(interactive) (interactive)
(if (projectile-project-p) (if (projectile-project-p)
(let* ((options (let* ((options
@ -490,7 +490,7 @@ With a prefix ARG invalidates the cache first."
(counsel-projectile-switch-project))) (counsel-projectile-switch-project)))
(defun counsel-projectile-toggle (toggle) (defun counsel-projectile-toggle (toggle)
"Toggle Ivy version of Projectile commands." "Toggle counsel-projectile keybindings."
(if (> toggle 0) (if (> toggle 0)
(progn (progn
(when (eq projectile-switch-project-action #'projectile-find-file) (when (eq projectile-switch-project-action #'projectile-find-file)