diff options
| author | Stefan Monnier | 2007-08-22 15:55:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-08-22 15:55:10 +0000 |
| commit | 5aa273b0a6dd11613e96f3350d748751e1c43cf0 (patch) | |
| tree | bdf8739bfa4f72bed26c2dc3d71fdf4742d26bcd /src | |
| parent | 008e2c2a698f9ff46263ed22ecc5fbdfd93b68f3 (diff) | |
| download | emacs-5aa273b0a6dd11613e96f3350d748751e1c43cf0.tar.gz emacs-5aa273b0a6dd11613e96f3350d748751e1c43cf0.zip | |
(syms_of_lread): Export old-style-backquotes to Elisp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/lread.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b696ae06b49..292bb68474a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * lread.c (Vold_style_backquotes): New var. | 3 | * lread.c (Vold_style_backquotes): New var. |
| 4 | (syms_of_lread): Init and staticpro it. | 4 | (syms_of_lread): Init and export it to Elisp. |
| 5 | (read1): Set it when we find an old-style (back)quote. | 5 | (read1): Set it when we find an old-style (back)quote. |
| 6 | 6 | ||
| 7 | 2007-08-22 Jason Rumney <jasonr@gnu.org> | 7 | 2007-08-22 Jason Rumney <jasonr@gnu.org> |
diff --git a/src/lread.c b/src/lread.c index 76676f64b2e..02abed1ca99 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4195,6 +4195,10 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4195 | doc: /* List of buffers being read from by calls to `eval-buffer' and `eval-region'. */); | 4195 | doc: /* List of buffers being read from by calls to `eval-buffer' and `eval-region'. */); |
| 4196 | Veval_buffer_list = Qnil; | 4196 | Veval_buffer_list = Qnil; |
| 4197 | 4197 | ||
| 4198 | DEFVAR_LISP ("old-style-backquotes", &Vold_style_backquotes, | ||
| 4199 | doc: /* Set to non-nil when `read' encounters an old-style backquote. */); | ||
| 4200 | Vold_style_backquotes = Qnil; | ||
| 4201 | |||
| 4198 | /* Vsource_directory was initialized in init_lread. */ | 4202 | /* Vsource_directory was initialized in init_lread. */ |
| 4199 | 4203 | ||
| 4200 | load_descriptor_list = Qnil; | 4204 | load_descriptor_list = Qnil; |
| @@ -4254,9 +4258,6 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4254 | 4258 | ||
| 4255 | Vloads_in_progress = Qnil; | 4259 | Vloads_in_progress = Qnil; |
| 4256 | staticpro (&Vloads_in_progress); | 4260 | staticpro (&Vloads_in_progress); |
| 4257 | |||
| 4258 | Vold_style_backquotes = Qnil; | ||
| 4259 | staticpro (&Vold_style_backquotes); | ||
| 4260 | } | 4261 | } |
| 4261 | 4262 | ||
| 4262 | /* arch-tag: a0d02733-0f96-4844-a659-9fd53c4f414d | 4263 | /* arch-tag: a0d02733-0f96-4844-a659-9fd53c4f414d |