branch: externals/org
commit cb36b1627de6c4ceaa09775ccd7eafd63cce1be7
Author: Jules Tamagnan <jtamag...@gmail.com>
Commit: Ihor Radchenko <yanta...@posteo.net>

    org-string-width: Inhibit buffer hooks in *Org string width* buffer
    
    * lisp/org-macs.el (org-string-width): Inhibit buffer hooks when
    creating the working buffer.  This is an internal buffer and user
    hooks are not expected there.
    
    TINYCHANGE
---
 lisp/org-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index bfb11e7880..15d91bbb20 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -1200,7 +1200,7 @@ STRING width.  When REFERENCE-FACE is nil, `default' face 
is used."
                      (push el result)))
                  result)))
           (current-char-property-alias-alist char-property-alias-alist))
-      (with-current-buffer (get-buffer-create " *Org string width*")
+      (with-current-buffer (get-buffer-create " *Org string width*" t)
         (setq-local display-line-numbers nil)
         (setq-local line-prefix nil)
         (setq-local wrap-prefix nil)

Reply via email to