From mboxrd@z Thu Jan 1 00:00:00 1970 From: roberthambrock@gmail.com Subject: [PATCH 1/4] org-src.el: Fixed dynamic fontification bug Date: Sun, 22 Apr 2018 22:50:00 +0200 Message-ID: <20180422205003.87836-2-roberthambrock@gmail.com> References: <20180422205003.87836-1-roberthambrock@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fALwg-0003vl-Gc for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 16:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fALwf-0002rC-RY for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 16:50:50 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:41475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fALwf-0002qb-Kq for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 16:50:49 -0400 Received: by mail-wr0-x230.google.com with SMTP id g21-v6so8343868wrb.8 for ; Sun, 22 Apr 2018 13:50:49 -0700 (PDT) In-Reply-To: <20180422205003.87836-1-roberthambrock@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: Robert Hambrock From: Robert Hambrock * 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