[Top][All Lists]

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

Re: Persistence of variables

From: Emanuel Berg
Subject: Re: Persistence of variables
Date: Wed, 21 Mar 2018 19:00:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Drew Adams wrote:

> There are several possibilities, including these:
> 1. `savehist.el' (what Eric said)
> 2. Customize (option value)
> 3. Bookmark (e.g., Bookmark+ variable-list bookmark)
> 4. Desktop


(defun write-string-to-file (string file)
  "Write STRING to FILE.
Create nonexistent FILE otherwise overwrite."
  (interactive "sstring: \nFfile: ")
  (with-temp-file file
    (insert string "\n") ))
;; (write-string-to-file "Leeloo Dallas Multipass" "~/5ifth.txt")

underground experts united

reply via email to

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