From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nicolas Richard" Subject: [PATCH] org-attach: exchange the docstrings of org-attach-reveal and org-attach-reveal-in-emacs Date: Wed, 09 Jan 2013 17:20:19 +0100 Message-ID: <876236xr98.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsyON-0005qt-Dk for emacs-orgmode@gnu.org; Wed, 09 Jan 2013 11:20:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsyOI-0005jI-Km for emacs-orgmode@gnu.org; Wed, 09 Jan 2013 11:20:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:34340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsyOI-0005if-FG for emacs-orgmode@gnu.org; Wed, 09 Jan 2013 11:20:34 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TsyOV-0001Iz-2q for emacs-orgmode@gnu.org; Wed, 09 Jan 2013 17:20:47 +0100 Received: from geodiff-mac3.ulb.ac.be ([164.15.131.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 17:20:47 +0100 Received: from theonewiththeevillook by geodiff-mac3.ulb.ac.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 17:20:47 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi again, This is a small very obvious docstring fix. From: "Nicolas Richard" Date: Wed, 12 Dec 2012 19:09:58 +0100 * lisp/org-attach.el (org-attach-reveal, org-attach-reveal-in-emacs): Fix the docstrings. --- lisp/org-attach.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-attach.el b/lisp/org-attach.el index 3154e5e..51a8995 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -425,14 +425,14 @@ This ignores files starting with a \".\", and files ending in \"~\"." (directory-files dir nil "[^~]\\'")))) (defun org-attach-reveal (&optional if-exists) - "Show the attachment directory of the current task in dired." + "Show the attachment directory of the current task. +This will attempt to use an external program to show the directory." (interactive "P") (let ((attach-dir (org-attach-dir (not if-exists)))) (and attach-dir (org-open-file attach-dir)))) (defun org-attach-reveal-in-emacs () - "Show the attachment directory of the current task. -This will attempt to use an external program to show the directory." + "Show the attachment directory of the current task in dired." (interactive) (let ((attach-dir (org-attach-dir t))) (dired attach-dir))) -- 1.8.1