branch: elpa/fedi
commit a6785add1b26c5ec36be70a751f8e5ecc34c098a
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    add hack-dir-locals to compose buffer.
---
 fedi-post.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fedi-post.el b/fedi-post.el
index 552022d59e6..9a87c6757f5 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -699,6 +699,10 @@ BUF-PREFIX is a string to prepend to the buffer name."
     ;; we would need to add our own propertizing to md-mode font-locking
     (when (eq major 'markdown-mode)
       (cl-pushnew #'fedi-post-fontify-body-region after-change-functions))
+    ;; dir locals
+    (let ((enable-local-variables :all))
+      (hack-dir-local-variables-non-file-buffer))
+    ;; init and reply text
     (when init-text
       (insert init-text)
       (delete-trailing-whitespace))

Reply via email to