|
From: | Lennart Borgman (gmail) |
Subject: | Re: ps-print variables interactive setting |
Date: | Wed, 03 Sep 2008 21:51:18 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Rodolfo Medina wrote: > (defun my-manage-ps-font-size () > (interactive) > (let* ((prompt1 (read-from-minibuffer "Font size? ")) > (prompt2 (format "(quote (7 . %s))" prompt1)) > ) > (setq ps-font-size prompt2) > ) > ) > > > , but it seems that the variable's value is put between "" and so it is not > accepted. I need help in this point. Thanks to anyone still helping. Maybe like this (defun my-manage-ps-font-size () (interactive) (let ((font-size (read-number "Font size? "))) (setq ps-font-size (cons 7 font-size))))
[Prev in Thread] | Current Thread | [Next in Thread] |