Next Prev Up Top Contents Index

10.2 Using ! for :redo

The default way of redoing the previous command from the command history is via :redo . If you want to use ! (exclamation mark) instead of :redo , add the following to your .lispworks file:

(set-macro-character #\!
   #'(lambda (stream char)
    ':redo))

You may wish during some sessions to reset ! back to its normal role as a character. Type in:

(set-syntax-from-char #\@ #\!)
LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index