branch: scratch/editorconfig-cc
commit fb44eccd9240bf5374896266e5d21aab687f6091
Author: 10sr <8.slas...@gmail.com>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Update debug message
---
 editorconfig.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/editorconfig.el b/editorconfig.el
index a1ddcb9d36..91f23bd6a8 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -560,9 +560,10 @@ any of regexps in `editorconfig-exclude-regexps'."
   "Set `coding-system-for-read'.
 This function should be adviced to `insert-file-contents'"
   (display-warning '(editorconfig editorconfig--advice-insert-file-contents)
-                   (format ": %S %S %S"
+                   (format "filename: %S args: %S codingsystem: %S 
bufferfilename: %S"
                            filename args
-                           editorconfig--cons-filename-codingsystem)
+                           editorconfig--cons-filename-codingsystem
+                           buffer-file-name)
                    :debug)
   (if (and (stringp filename)
            (stringp (car editorconfig--cons-filename-codingsystem))

Reply via email to