From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher Suckling" Subject: [Patch] Fixes elisp links in org files Date: Sat, 22 Nov 2008 16:22:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0589771129==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3vFk-0006fl-BL for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 11:22:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3vFi-0006fW-OV for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 11:22:35 -0500 Received: from [199.232.76.173] (port=37347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3vFi-0006fT-Kq for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 11:22:34 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:36047) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3vFi-0004vM-5d for emacs-orgmode@gnu.org; Sat, 22 Nov 2008 11:22:34 -0500 Received: by nf-out-0910.google.com with SMTP id c7so771083nfi.26 for ; Sat, 22 Nov 2008 08:22:32 -0800 (PST) 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: emacs-orgmode@gnu.org --===============0589771129== Content-Type: multipart/alternative; boundary="----=_Part_122734_3130006.1227370952063" ------=_Part_122734_3130006.1227370952063 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_122734_3130006.1227370952063 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_122734_3130006.1227370952063-- --===============0589771129== 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 --===============0589771129==--