branch: elpa/aidermacs
commit ae53f547f9eb76a0dbfb58f5125631fa3b634fdd
Author: Mingde (Matthew) Zeng <matthew...@posteo.net>
Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>

    With demoted errors should have a "%S"
    
    Signed-off-by: Mingde (Matthew) Zeng <matthew...@posteo.net>
---
 aidermacs-output.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/aidermacs-output.el b/aidermacs-output.el
index 10a2ec566c..86f30c5da7 100644
--- a/aidermacs-output.el
+++ b/aidermacs-output.el
@@ -129,11 +129,10 @@ and syntax highlighting to match the original file."
             (insert-file-contents filename)
             (set-buffer-modified-p nil)
             ;; Use same major mode as the original file
-            (with-demoted-errors "%s"
+            (with-demoted-errors "%S"
               (let ((buffer-file-name filename)
                     (delay-mode-hooks t))
                 (set-auto-mode)
-                ;; Ensure syntax highlighting is applied
                 (font-lock-ensure))
               ;; Make buffer read-only
               (setq buffer-read-only t)))

Reply via email to