Macro: ABBREV

Documentation

creates a new macro being an abbreviation for long e.g (abbrev dbind multiple-value-bind) -> use dbind instead of multiple-value-bind

Source

(defmacro abbrev (short long)
  "creates a new macro being an abbreviation for long
   e.g (abbrev dbind multiple-value-bind)
       -> use dbind instead of multiple-value-bind"
  `(defmacro ,short (&rest args)
    `(,',long ,@args)))
Source Context