Skip to content

Commit ac2362d

Browse files
committed
Change: (debug-warn) Use %S
1 parent 0f7a84f commit ac2362d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.org

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -982,15 +982,15 @@ The macro is not tangled to =epdh.el=, so you may add it to your code as necessa
982982
(level (or level :debug))
983983
(string (cl-loop for arg in args
984984
concat (pcase arg
985-
((pred stringp) "%s ")
985+
((pred stringp) "%S ")
986986
((pred symbolp)
987-
(concat (upcase (symbol-name arg)) ":%s "))
987+
(concat (upcase (symbol-name arg)) ":%S "))
988988
((pred listp)
989989
(concat "(" (upcase (symbol-name (car arg)))
990990
(pcase (length arg)
991991
(1 ")")
992992
(_ "...)"))
993-
":%s "))))))
993+
":%S "))))))
994994
`(when (eq :debug warning-minimum-log-level)
995995
(display-warning ',fn-name (format ,string ,@args) ,level ,buffer))))
996996
#+END_SRC

index.html

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)