فهرست منبع

Fix mixup about interactive and non-interactive elisp links.

Patch by Christopher Suckling.
Carsten Dominik 16 سال پیش
والد
کامیت
ad62fc94e4
2فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 5 0
      lisp/ChangeLog
  2. 2 2
      lisp/org.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org.el (org-open-at-point): Fix mixup about interactive and
+	non-interactive elisp links.
+
 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-exp.el (org-export-preprocess-string): Allow one comment

+ 2 - 2
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