help-gnu-emacs
[Top][All Lists]
Advanced

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

ps-right-footer interactive setting (was: ps-print variables interactive


From: Rodolfo Medina
Subject: ps-right-footer interactive setting (was: ps-print variables interactive setting)
Date: Thu, 04 Sep 2008 22:47:38 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

Rodolfo Medina <address@hidden> writes:

> I wish to set some ps-print variables in an interactive way, i.e. be
> prompted for the value that I want to set.



Now I'm working on the ps-right-footer variable.  I wish to be prompted for a
page number so that the variable is set to:

 (list <page number>)

.  I did:

(defun my-ps-right-footer ()
  (interactive)
  (let ((my-page-number (read-number "page number? ")))
    (setq ps-print-footer t)
    (setq ps-right-footer (list 'my-page-number))
    )
  )

, but it doesn't work.  Any suggestion?

Thanks
Rodolfo


reply via email to

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