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

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

[h-e-w] interactive "r" argument passing


From: T400
Subject: [h-e-w] interactive "r" argument passing
Date: Fri, 17 May 2019 12:00:37 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Dear w32 emacs gurus:

Why does this function not work? I think that similar functions I wrote long ago did work.:


(defun save-sscratch (start end) ;; M-x sch alias
"Append region in *scratch* to file scratch.txt"
(interactive "r")
(with-current-buffer "*scratch*"
   (append-to-file start end "c:\mydocu~1\scratch.txt")))

Do I need escaped backslashes? forward slashes?


Thanks,

Ed





reply via email to

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