emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [tiny patch] calling org-agenda from eshell command line


From: Eric Schulte
Subject: [Orgmode] [tiny patch] calling org-agenda from eshell command line
Date: Tue, 24 Feb 2009 07:11:57 -0800
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Hi,

The attached patch makes the prefix argument ARG to `org-agenda'
optional so that it is easier to call from the eshell command line.
There may be some reason not to make this change, but so far I am
enjoying it.

Thanks -- Eric

>From 1fd28b94613846616ae1dc8829c16fc70ee54454 Mon Sep 17 00:00:00 2001
From: Eric Schulte <address@hidden>
Date: Tue, 24 Feb 2009 07:07:38 -0800
Subject: [PATCH] Make the ARG argument to `org-agenda' optional.  This makes it 
easy to
 call org-agenda from the eshell command line.

---
 lisp/org-agenda.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 435a967..74bd614 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1444,7 +1444,7 @@ that have been changed along."
 (defvar org-agenda-overriding-restriction nil)
 
 ;;;###autoload
-(defun org-agenda (arg &optional keys restriction)
+(defun org-agenda (&optional arg  keys restriction)
   "Dispatch agenda commands to collect entries to the agenda buffer.
 Prompts for a command to execute.  Any prefix arg will be passed
 on to the selected command.  The default selections are:
-- 
1.5.4.3


reply via email to

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