[Top][All Lists]

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

setting non-user variables

From: Héctor Lahoz
Subject: setting non-user variables
Date: Wed, 31 May 2017 16:26:44 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Recently I upgraded my Emacs to version 24 (I don't like to live on
the edge :-) and noticed that I can't use set-variable to set
this buffer-local variable anymore. What should I do?
Why was this changed?

;; before I did:
;; set-variable RET mpkg-master-file RET "file.txt" RET
 (defvar mpkg-master-file))

Do I need an interactive command to set the variable?

(defun set-master-file (filename)
  (interative "fFilename: ")
  (setq mpkg-master-file filename))

reply via email to

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