From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Patch] Fixes elisp links in org files Date: Sun, 23 Nov 2008 00:35:33 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1136064395==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L420t-00056i-Qq for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 18:35:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L420r-00056W-CW for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 18:35:42 -0500 Received: from [199.232.76.173] (port=49667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L420r-00056T-73 for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 18:35:41 -0500 Received: from ik-out-1112.google.com ([66.249.90.181]:16555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L420r-0008CO-F8 for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 18:35:41 -0500 Received: by ik-out-1112.google.com with SMTP id b32so1372874ika.2 for ; Sat, 22 Nov 2008 15:35:39 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Suckling Cc: emacs-orgmode@gnu.org --===============1136064395== Content-Type: multipart/alternative; boundary=Apple-Mail-1--18369277 --Apple-Mail-1--18369277 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Indeed, thank you very much. Fixed, thanks. - Carsten On Nov 22, 2008, at 5:22 PM, Christopher Suckling wrote: > Following elisp links in org files has been broken since commit > 4954225ce37. > > This small patch fixes them. > > Best wishes, > > Christopher > > diff --git a/lisp/org.el b/lisp/org.el > index 3953333..6d52dd9 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -6877,8 +6877,8 @@ application the system uses for this file type." > 'face 'org-warning)))) > (message "%s => %s" cmd > (if (equal (string-to-char cmd) ?\() > - (call-interactively (read cmd)) > - (eval (read cmd)))) > + (eval (read cmd)) > + (call-interactively (read cmd)))) > (error "Abort")))) > > (t > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1--18369277 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Indeed, thank you very = much.

Fixed, thanks.

- = Carsten

On Nov 22, 2008, at 5:22 PM, Christopher = Suckling wrote:

Following elisp links in org files has been broken since = commit 4954225ce37. 

This small patch fixes = them. 

Best = wishes,

Christopher

=
diff --git a/lisp/org.el b/lisp/org.el
index = 3953333..6d52dd9 100644
--- a/lisp/org.el
+++ = b/lisp/org.el
@@ -6877,8 +6877,8 @@ application the system = uses for this file type."
         =                     =         'face = 'org-warning))))
           =    (message "%s =3D> %s" cmd 
   =                     = (if (equal (string-to-char cmd) ?\()
-       =                   =  (call-interactively (read cmd))
-       =                  (eval = (read cmd))))
+             =              (eval (read = cmd))
+               =            (call-interactively (read = cmd))))
            (error = "Abort"))))
 
       =  (t


= _______________________________________________
Emacs-orgmode mailing = list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode

= --Apple-Mail-1--18369277-- --===============1136064395== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1136064395==--