diff options
| author | Dmitry Antipov | 2014-07-16 12:45:22 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-16 12:45:22 +0400 |
| commit | e0b07ec3416d1ee7c77234e9dd0a7408b50da83c (patch) | |
| tree | 430fc691f2cc593268fd1ada8defcec5b9c78ef4 /src/alloc.c | |
| parent | 74660d84d923fd8252b166770ca2403f6025a7ac (diff) | |
| download | emacs-e0b07ec3416d1ee7c77234e9dd0a7408b50da83c.tar.gz emacs-e0b07ec3416d1ee7c77234e9dd0a7408b50da83c.zip | |
More precise control over values of some buffer-local variables.
* keyboard.c (Qvertical_scroll_bar):
* frame.c (Qleft, Qright): Move to ...
* buffer.c (Qleft, Qright, Qvertical_scroll_bar): ... here.
* buffer.c (Qchoice, Qrange, Qoverwrite_mode, Qfraction): New symbols.
(syms_of_buffer): DEFSYM all of the above, attach special properties.
Use special symbols to DEFVAR_PER_BUFFER overwrite-mode,
vertical-scroll-bar, scroll-up-aggressively
and scroll-down-aggressively.
* buffer.h (Qchoice, Qrange, Qleft, Qright, Qvertical_scroll_bar):
Add declarations.
* nsfns.m, frame.h (Qleft, Qright):
* nsterm.m (Qleft): Remove declarations.
* gtkutil.c (toplevel): Include buffer.h.
* data.c (wrong_choice, wrong_range): New functions.
(store_symval_forwarding): Handle special properties of buffer-local
variables and use functions from the above to signal error, if any.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions