emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/slime c753c7e912 30/44: Escape %-Constructs in the Mode Li


From: ELPA Syncer
Subject: [nongnu] elpa/slime c753c7e912 30/44: Escape %-Constructs in the Mode Line (manual 24.4.5)
Date: Fri, 29 Dec 2023 01:00:05 -0500 (EST)

branch: elpa/slime
commit c753c7e912d42debd2c43c03f3205996bb1097ae
Author: Gleefre <varedif.a.s@gmail.com>
Commit: Stas Boukarev <stassats@gmail.com>

    Escape %-Constructs in the Mode Line (manual 24.4.5)
---
 slime.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slime.el b/slime.el
index e336ad7fe7..f1bd8da721 100644
--- a/slime.el
+++ b/slime.el
@@ -506,7 +506,7 @@ information."
             (pkg   (slime-current-package)))
         (concat " "
                 (if local "{" "[")
-                (if pkg (slime-pretty-package-name pkg) "?")
+                (if pkg (string-replace "%" "%%" (slime-pretty-package-name 
pkg)) "?")
                 " "
                 ;; ignore errors for closed connections
                 (ignore-errors (slime-connection-name conn))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]