From 1aa1b0bfa5aafa7eb061b18dc56c9c57fdac4ea2 Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Wed, 25 Nov 2020 11:42:12 +0100 Subject: [PATCH] Make prefix argument optional for all shells. --- projectile.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projectile.el b/projectile.el index 26241760b..cc103220e 100644 --- a/projectile.el +++ b/projectile.el @@ -3537,7 +3537,7 @@ regular expression." (call-interactively 'gdb))) ;;;###autoload -(defun projectile-run-shell (arg) +(defun projectile-run-shell (&optional arg) "Invoke `shell' in the project's root. Switch to the project specific shell buffer if it already exists. @@ -3548,7 +3548,7 @@ Use a prefix argument ARG to indicate creation of a new process instead." (shell (projectile-generate-process-name "shell" arg)))) ;;;###autoload -(defun projectile-run-eshell (arg) +(defun projectile-run-eshell (&optional arg) "Invoke `eshell' in the project's root. Switch to the project specific eshell buffer if it already exists. @@ -3560,7 +3560,7 @@ Use a prefix argument ARG to indicate creation of a new process instead." (eshell)))) ;;;###autoload -(defun projectile-run-ielm (arg) +(defun projectile-run-ielm (&optional arg) "Invoke `ielm' in the project's root. Switch to the project specific ielm buffer if it already exists. @@ -3577,7 +3577,7 @@ Use a prefix argument ARG to indicate creation of a new process instead." (rename-buffer ielm-buffer-name)))) ;;;###autoload -(defun projectile-run-term (arg) +(defun projectile-run-term (&optional arg) "Invoke `term' in the project's root. Switch to the project specific term buffer if it already exists.