unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Does defvar-local has same effect as make-variable-buffer-local?
@ 2021-05-15 20:14 Jean Louis
  2021-05-15 20:49 ` [External] : " Drew Adams
  2021-05-16  4:11 ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Jean Louis @ 2021-05-15 20:14 UTC (permalink / raw)
  To: Help GNU Emacs


I did read the documentation, yet I need assurance on this subject.

For this below:

(defvar rcd-current-hash nil)
(make-variable-buffer-local 'rcd-current-hash)

Is the above totally equivalent to this below?

(defvar-local rcd-current-hash nil)


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/
https://rms-support-letter.github.io/




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

end of thread, other threads:[~2021-05-16 16:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-15 20:14 Does defvar-local has same effect as make-variable-buffer-local? Jean Louis
2021-05-15 20:49 ` [External] : " Drew Adams
2021-05-15 21:01   ` Drew Adams
2021-05-15 21:41     ` Jean Louis
2021-05-15 22:16       ` Drew Adams
2021-05-15 22:21         ` Jean Louis
2021-05-16  4:11 ` Eli Zaretskii
2021-05-16  8:09   ` Jean Louis
2021-05-16  8:52     ` Yuri Khan
2021-05-16 16:53       ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-05-16  8:55     ` Eli Zaretskii
2021-05-16 11:26       ` Jean Louis

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).