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

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

Re: Editing Emacs buffer with external editor


From: Jean Louis
Subject: Re: Editing Emacs buffer with external editor
Date: Sat, 22 May 2021 23:31:45 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

This is missing for the previous function to edit Emacs buffers with
external editor:

(defun file-to-string (file)
  "File to string function"
  (with-temp-buffer
    (insert-file-contents file)
    (buffer-string)))


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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