[Top][All Lists]

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

RE: [h-e-w] Save as?

From: Ludwig, Mark
Subject: RE: [h-e-w] Save as?
Date: Wed, 30 Apr 2003 15:58:17 -0500

Yes of course.  I was assuming the user didn't want to write and Lisp functions.  --Mark
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Wednesday, April 30, 2003 1:35 PM
To: address@hidden
Subject: Re: [h-e-w] Save as?

In a message dated 4/30/2003 2:05:44 PM Eastern Daylight Time, address@hidden writes:

The most direct way is probably:

C-x h (mark-whole-buffer)
M-x write-region

  Great hint.     How about

(defun save-in-other-file (new-filename)
  (interactive "FFilename:")
  (write-region (point-min) (point-max) new-filename))

reply via email to

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