[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb 74c5cef 134/449: Add (probably unnecessary) &opti

From: Stefan Monnier
Subject: [elpa] externals/gnorb 74c5cef 134/449: Add (probably unnecessary) &optional to prefix args
Date: Fri, 27 Nov 2020 23:15:25 -0500 (EST)

branch: externals/gnorb
commit 74c5cef0cbfb033306c6073f117de7583897b037
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Add (probably unnecessary) &optional to prefix args
    lisp/gnorb-org.el: (gnorb-org-handle-mail, gnorb-org-email-subtree)
                   Because they told me to.
 lisp/gnorb-org.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 08708fd..427dbf5 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -487,7 +487,7 @@ current heading."
             (org-attach-file-list attach-dir))))
-(defun gnorb-org-handle-mail (arg)
+(defun gnorb-org-handle-mail (&optional arg)
   "Handle current headline as a mail TODO."
   (interactive "P")
   (setq gnorb-org-window-conf (current-window-configuration))
@@ -639,7 +639,7 @@ respective (usual) file extensions. Ugly way to do it, but 
 the hey..."
   :group 'gnorb-org)
-(defun gnorb-org-email-subtree (arg)
+(defun gnorb-org-email-subtree (&optional arg)
   "Call on a subtree to export it either to a text string or a file,
 then compose a mail message either with the exported text
 inserted into the message body, or the exported file attached to

reply via email to

[Prev in Thread] Current Thread [Next in Thread]