[slime-devel] restart lines fully propertized

Willem Broekema metawilm at gmail.com
Sat Dec 6 10:41:14 UTC 2008


This small patch makes the space before each restart also propertized,
consistent with how each line in the backtrace is fully sensitive.
- Willem

--- slime.el	5 Dec 2008 20:01:54 -0000	1.1070
+++ slime.el	6 Dec 2008 10:26:19 -0000
@@ -6930,12 +6930,11 @@
 RESTARTS should be alist ((NAME DESCRIPTION) ...)."
   (loop for (name string) in restarts
         for number from 0 do
-        (insert " ")
         (slime-insert-propertized
          `(, at nil restart-number ,number
                  sldb-default-action sldb-invoke-restart
                  mouse-face highlight)
-         (in-sldb-face restart-number (number-to-string number))
+         " " (in-sldb-face restart-number (number-to-string number))
          ": ["  (in-sldb-face restart-type name) "] "
          (in-sldb-face restart string))
         (insert "\n")))




More information about the slime-devel mailing list