branch: elpa/symbol-overlay
commit f2734ce633c2b498d3ea70042a3ae9f93f9f046a
Merge: 4528aa0e62 4623bd1ab3
Author: Steve Purcell <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #60 from cireu/fix-percentage-prefix-symbol
    
    Fix format error while marking a symbol contains "%"
---
 symbol-overlay.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/symbol-overlay.el b/symbol-overlay.el
index da4841e099..0fea29900f 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -398,10 +398,10 @@ If SHOW-COLOR is non-nil, display the color used by 
current overlay."
            (count (length before))
            ;; Log to echo area but not *Messages*
            message-log-max)
-      (message (concat symbol
-                       ": %d/%d"
+      (message (concat "%s: %d/%d"
                        (and (cadr keyword) " in scope")
                        (and show-color (format " (%s)" (cddr keyword))))
+               symbol
                (+ count 1)
                (+ count (length after))))))
 

Reply via email to