summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2019-06-27 13:26:45 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-27 13:26:45 +0200
commite3b70e6b2dc5805fa92c9ddbf42fed81ed835f1b (patch)
tree8c7284ea70fb42c0eb0b9ef2c38faedc668e0f71 /etc
parent1d9bb2ff70ca65dbfdd2ec904b8f6d9e07a6e9c5 (diff)
downloademacs-e3b70e6b2dc5805fa92c9ddbf42fed81ed835f1b.tar.gz
Add :local specifier to defcustom
* lisp/custom.el (custom-declare-variable): Allow the new :local parameter (bug#14591). (defcustom): Document it.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 29b74ee682b..10882e4ec45 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1790,6 +1790,11 @@ valid event type.
* Lisp Changes in Emacs 27.1
+** defcustom now takes a :local keyword that can be either t or
+`permanent', which mean that the variable should be automatically
+buffer-local. `permanent' also sets the variable's
+`permanent-local' property.
+
+++
** The new macro `with-suppressed-warnings' can be used to suppress
specific byte-compile warnings.