unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* setting non-user variables
@ 2017-05-31 14:26 Héctor Lahoz
  2017-05-31 14:45 ` Emanuel Berg
  2017-05-31 15:40 ` Eli Zaretskii
  0 siblings, 2 replies; 14+ messages in thread
From: Héctor Lahoz @ 2017-05-31 14:26 UTC (permalink / raw)
  To: help-gnu-emacs

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
(make-variable-buffer-local
 (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))



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-06-01 15:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 14:26 setting non-user variables Héctor Lahoz
2017-05-31 14:45 ` Emanuel Berg
2017-05-31 14:58   ` Héctor Lahoz
2017-05-31 15:20     ` Emanuel Berg
2017-06-01  9:12       ` Héctor Lahoz
2017-06-01 13:45         ` Emanuel Berg
2017-05-31 15:21     ` John Ankarström
2017-05-31 15:23       ` John Ankarström
2017-05-31 15:40 ` Eli Zaretskii
2017-06-01  9:24   ` Héctor Lahoz
2017-06-01 10:02     ` tomas
2017-06-01 14:20       ` Drew Adams
2017-06-01 15:10         ` tomas
2017-06-01 15:22         ` Héctor Lahoz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).