diff options
| author | Stefan Monnier | 2013-08-02 17:16:33 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-08-02 17:16:33 -0400 |
| commit | a104f656c8217b027866d32e8d7bf024a671e3cc (patch) | |
| tree | b62ddfb915099ba3398b2f0b1f9ddc0ed6203102 /etc | |
| parent | 185e3b5a2f3dc2b5163eb1fe97499c6af1edaa9c (diff) | |
| download | emacs-a104f656c8217b027866d32e8d7bf024a671e3cc.tar.gz emacs-a104f656c8217b027866d32e8d7bf024a671e3cc.zip | |
Make defvar affect the default binding outside of any let.
* src/eval.c (default_toplevel_binding): New function.
(Fdefvar): Use it.
(unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification.
(Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs.
(syms_of_eval): Export them.
* src/data.c (Fdefault_value): Micro cleanup.
* src/term.c (init_tty): Use "false".
* lisp/custom.el (custom-initialize-default, custom-initialize-set)
(custom-initialize-reset, custom-initialize-changed): Affect the
toplevel-default-value (bug#6275, bug#14586).
* lisp/emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
for bug#6275.
* test/automated/core-elisp-tests.el: New file.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -524,6 +524,8 @@ low-level libraries gfilenotify.c, inotify.c or w32notify.c. | |||
| 524 | 524 | ||
| 525 | * Incompatible Lisp Changes in Emacs 24.4 | 525 | * Incompatible Lisp Changes in Emacs 24.4 |
| 526 | 526 | ||
| 527 | ** `defvar' and `defcustom' in a let-binding affect the "external" default. | ||
| 528 | |||
| 527 | ** The syntax of ?» and ?« is now punctuation instead of matched parens. | 529 | ** The syntax of ?» and ?« is now punctuation instead of matched parens. |
| 528 | Some languages match those as »...« and others as «...» so better stay neutral. | 530 | Some languages match those as »...« and others as «...» so better stay neutral. |
| 529 | 531 | ||