unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* pp-to-string, defun and "()"
@ 2007-11-04  9:22 yzhh
  2007-11-04 10:03 ` Thien-Thi Nguyen
  2007-11-04 10:40 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: yzhh @ 2007-11-04  9:22 UTC (permalink / raw)
  To: emacs-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-04 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04  9:22 pp-to-string, defun and "()" yzhh
2007-11-04 10:03 ` Thien-Thi Nguyen
2007-11-04 10:40 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).