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

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

Re: problem with elisp


From: Joost Kremers
Subject: Re: problem with elisp
Date: 8 Oct 2008 18:59:25 GMT
User-agent: slrn/0.9.9 (Linux)

Seweryn Kokot wrote:
> Could you explain to me why the following function doesn't work in the first

define "doesn't work". what does happen?

> (defun my-swap-string (string-a string-b)
>   (interactive "sFirst string to swap: \nsSecond string to swap: ")
>   (save-excursion  
>       (let ((string-temp (make-temp-name ""))) ; this doesn't work

include the line

(message "%s" string-temp)

right after the let, and see what string-temp is set to.

FWIW your code works fine for me with make-temp-name...


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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