diff options
| author | Juanma Barranquero | 2019-06-27 13:26:45 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-27 13:26:45 +0200 |
| commit | e3b70e6b2dc5805fa92c9ddbf42fed81ed835f1b (patch) | |
| tree | 8c7284ea70fb42c0eb0b9ef2c38faedc668e0f71 /etc | |
| parent | 1d9bb2ff70ca65dbfdd2ec904b8f6d9e07a6e9c5 (diff) | |
| download | emacs-e3b70e6b2dc5805fa92c9ddbf42fed81ed835f1b.tar.gz emacs-e3b70e6b2dc5805fa92c9ddbf42fed81ed835f1b.zip | |
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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1790,6 +1790,11 @@ valid event type. | |||
| 1790 | 1790 | ||
| 1791 | * Lisp Changes in Emacs 27.1 | 1791 | * Lisp Changes in Emacs 27.1 |
| 1792 | 1792 | ||
| 1793 | ** defcustom now takes a :local keyword that can be either t or | ||
| 1794 | `permanent', which mean that the variable should be automatically | ||
| 1795 | buffer-local. `permanent' also sets the variable's | ||
| 1796 | `permanent-local' property. | ||
| 1797 | |||
| 1793 | +++ | 1798 | +++ |
| 1794 | ** The new macro `with-suppressed-warnings' can be used to suppress | 1799 | ** The new macro `with-suppressed-warnings' can be used to suppress |
| 1795 | specific byte-compile warnings. | 1800 | specific byte-compile warnings. |