emacs-devel
[Top][All Lists]
Advanced

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

pp-to-string, defun and "()"


From: yzhh
Subject: pp-to-string, defun and "()"
Date: Sun, 04 Nov 2007 17:22:09 +0800
User-agent: KNode/0.10.5

The following code is intended for produce the string of a defun, 
(pp-to-string
           `(defun recorded-commands ()
              "Commands recorded during the last 'recording commands' cycle."
              (interactive)
              ,@(reclisp-post-process reclisp-recorded-commands)))

It produces 
(defun recorded-commands nil "Commands recorded during the last 'recording
commands' cycle."
  (interactive)
...

The "()" is translated to "nil" which does not look good, and the doc string
is put in the same line place. Any suggesting?

-- 
   regards,
yzhh





reply via email to

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