emacs-devel
[Top][All Lists]
Advanced

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

Re: org-src.el begin_src/end_src fontification may have been broken rece


From: Ted Zlatanov
Subject: Re: org-src.el begin_src/end_src fontification may have been broken recently
Date: Wed, 15 Jun 2011 09:55:36 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Wed, 15 Jun 2011 10:12:26 +0200 Julien Danjou <address@hidden> wrote: 

JD> On Tue, Jun 14 2011, Ted Zlatanov wrote:
>> Could you propose a patch to the Org authors?  Do you want me to do it?

JD> Well, since you've started digging into the code, and I don't have much
JD> time right now, I'd be happy to review and merge your patch into Org. ;-)

The patch is truly trivial, see attached.

Ted

=== modified file 'lisp/org/org.el'
--- lisp/org/org.el     2011-05-23 17:57:17 +0000
+++ lisp/org/org.el     2011-06-15 14:54:19 +0000
@@ -5096,6 +5096,11 @@
   :group 'org-babel)
 
 (defun org-fontify-meta-lines-and-blocks (limit)
+  (condition-case nil
+      (org-fontify-meta-lines-and-blocks-1 limit)
+    (error (message "org-mode fontification error"))))
+
+(defun org-fontify-meta-lines-and-blocks-1 (limit)
   "Fontify #+ lines and blocks, in the correct ways."
   (let ((case-fold-search t))
     (if (re-search-forward


reply via email to

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