Paste number 59277: fdump.lisp patch

Paste number 59277: fdump.lisp patch
Pasted by: z0d
When:1 year, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+19QL
Channel:None
Paste contents:
Raw Source | XML | Display As
--- fdump.lisp.orig     2008-04-18 07:49:55.000000000 +0200
+++ fdump.lisp  2008-04-18 07:50:12.000000000 +0200
@@ -79,21 +79,21 @@
             (*print-pretty* t))
         (prin1 foo fp)))))
 
-(defcommand dump-group-to-file (file) (:rest "Dump To File: ")
+(defcommand dump-group-to-file (file) ((:rest "Dump To File: "))
   "Dumps the frames of the current group of the current screen to the named file."
   (dump-to-file (dump-group (current-group)) file)
   (message "Group dumped"))
 
 (defcommand-alias dump-group dump-group-to-file) 
 
-(defcommand dump-screen-to-file (file) (:rest "Dump To File: ")
+(defcommand dump-screen-to-file (file) ((:rest "Dump To File: "))
   "Dumps the frames of all groups of the current screen to the named file"
   (dump-to-file (dump-screen (current-screen)) file)
   (message "Screen dumped"))
 
 (defcommand-alias dump-screen dump-screen-to-file)
 
-(defcommand dump-desktop-to-file (file) (:rest "Dump To File: ")
+(defcommand dump-desktop-to-file (file) ((:rest "Dump To File: "))
   "Dumps the frames of all groups of all screens to the named file"
   (dump-to-file (dump-desktop) file)
   (message "Desktop dumped"))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.