diff options
| author | Chong Yidong | 2009-04-29 03:13:16 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-04-29 03:13:16 +0000 |
| commit | dd449674071bf59bfcb965f6909bec764e3c6257 (patch) | |
| tree | ea25a09021270c48efab070054fdb216eea34b36 | |
| parent | 91f68422d65d4fe746e4cd89cd274636a097c4ff (diff) | |
| download | emacs-dd449674071bf59bfcb965f6909bec764e3c6257.tar.gz emacs-dd449674071bf59bfcb965f6909bec764e3c6257.zip | |
* variables.texi (File Local Variables): Note that read-circle is
bound to nil when reading file-local variables.
* streams.texi (Input Functions): Document read-circle.
(Output Variables): Add xref to Circular Objects.
| -rw-r--r-- | doc/lispref/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/lispref/streams.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 5 |
3 files changed, 21 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index ff37666b776..5dda8f51cf8 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2009-04-29 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * variables.texi (File Local Variables): Note that read-circle is | ||
| 4 | bound to nil when reading file-local variables. | ||
| 5 | |||
| 6 | * streams.texi (Input Functions): Document read-circle. | ||
| 7 | (Output Variables): Add xref to Circular Objects. | ||
| 8 | |||
| 1 | 2009-04-25 Chong Yidong <cyd@stupidchicken.com> | 9 | 2009-04-25 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 10 | ||
| 3 | * tips.texi (Coding Conventions): Copyedits. Add xref to Named | 11 | * tips.texi (Coding Conventions): Copyedits. Add xref to Named |
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi index b350c53bfdb..df19cbee430 100644 --- a/doc/lispref/streams.texi +++ b/doc/lispref/streams.texi | |||
| @@ -341,6 +341,12 @@ This variable holds the default input stream---the stream that | |||
| 341 | The default is @code{t}, meaning use the minibuffer. | 341 | The default is @code{t}, meaning use the minibuffer. |
| 342 | @end defvar | 342 | @end defvar |
| 343 | 343 | ||
| 344 | @defvar read-circle | ||
| 345 | If non-@code{nil}, this variable enables the reading of circular and | ||
| 346 | shared structures. @xref{Circular Objects}. Its default value is | ||
| 347 | @code{t}. | ||
| 348 | @end defvar | ||
| 349 | |||
| 344 | @node Output Streams | 350 | @node Output Streams |
| 345 | @section Output Streams | 351 | @section Output Streams |
| 346 | @cindex stream (for printing) | 352 | @cindex stream (for printing) |
| @@ -794,8 +800,8 @@ Emacs-Lisp Expressions, emacs, The GNU Emacs Manual}). | |||
| 794 | and shared structure: | 800 | and shared structure: |
| 795 | 801 | ||
| 796 | @defvar print-circle | 802 | @defvar print-circle |
| 797 | If non-@code{nil}, this variable enables detection of circular | 803 | If non-@code{nil}, this variable enables detection of circular and |
| 798 | and shared structure in printing. | 804 | shared structure in printing. @xref{Circular Objects} |
| 799 | @end defvar | 805 | @end defvar |
| 800 | 806 | ||
| 801 | @defvar print-gensym | 807 | @defvar print-gensym |
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 2f97c8c0b5b..75f0b182604 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1539,6 +1539,11 @@ your Emacs. Emacs protects against this by automatically setting only | |||
| 1539 | those file-local variables whose specified values are known to be | 1539 | those file-local variables whose specified values are known to be |
| 1540 | safe. Other file-local variables are set only if the user agrees. | 1540 | safe. Other file-local variables are set only if the user agrees. |
| 1541 | 1541 | ||
| 1542 | For additional safety, @code{read-circle} is temporarily bound to | ||
| 1543 | @code{nil} when Emacs reads file-local variables (@pxref{Input | ||
| 1544 | Functions}). This prevents the Lisp reader from recognizing circular | ||
| 1545 | and shared Lisp structures (@pxref{Circular Objects}). | ||
| 1546 | |||
| 1542 | @defopt enable-local-variables | 1547 | @defopt enable-local-variables |
| 1543 | This variable controls whether to process file-local variables. | 1548 | This variable controls whether to process file-local variables. |
| 1544 | The possible values are: | 1549 | The possible values are: |