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

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

Does defvar-local has same effect as make-variable-buffer-local?


From: Jean Louis
Subject: Does defvar-local has same effect as make-variable-buffer-local?
Date: Sat, 15 May 2021 23:14:38 +0300

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/




reply via email to

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