emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH 1/4] org-src.el: Fixed dynamic fontification bug


From: roberthambrock
Subject: [O] [PATCH 1/4] org-src.el: Fixed dynamic fontification bug
Date: Sun, 22 Apr 2018 22:50:00 +0200

From: Robert Hambrock <address@hidden>

* lisp/org-src.el (org-src-font-lock-fontify-block): Fixed temporary
buffer name. Clojure's Cider could not dynamically fontify Clojure
subsections of the buffer. Removing the rogue space from the temporary
buffername fixes this.
---
 lisp/org-src.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index ec32d7bf3..bd76aa5af 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -548,7 +548,7 @@ as `org-src-fontify-natively' is non-nil."
        (remove-text-properties start end '(face nil))
        (with-current-buffer
            (get-buffer-create
-            (format " *org-src-fontification:%s*" lang-mode))
+            (format "*org-src-fontification:%s*" lang-mode))
          (let ((inhibit-modification-hooks nil))
            (erase-buffer)
            ;; Add string and a final space to ensure property change.
-- 
2.16.3




reply via email to

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