aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2012-05-08 20:06:08 -0700
committerGlenn Morris2012-05-08 20:06:08 -0700
commit666b903b912ca0aa2b1a034859b752b04f03141a (patch)
treeadd3234ca1ed7c2d5b18422b3f6982b34388d65b /doc
parent8f6b6da8ecdcd37ecbb83778d35baa02d68621a3 (diff)
parent0a454caf059b4cc050984a41decc2344cd9a083f (diff)
downloademacs-666b903b912ca0aa2b1a034859b752b04f03141a.tar.gz
emacs-666b903b912ca0aa2b1a034859b752b04f03141a.zip
Merge from emacs-24; up to 2012-04-21T14:12:27Z!sdl.web@gmail.com
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog46
-rw-r--r--doc/emacs/frames.texi6
-rw-r--r--doc/lispintro/ChangeLog9
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi4
-rw-r--r--doc/lispref/ChangeLog53
-rw-r--r--doc/lispref/Makefile.in5
-rw-r--r--doc/lispref/compile.texi121
-rw-r--r--doc/lispref/control.texi58
-rw-r--r--doc/lispref/customize.texi60
-rw-r--r--doc/lispref/edebug.texi4
-rw-r--r--doc/lispref/eval.texi23
-rw-r--r--doc/lispref/functions.texi28
-rw-r--r--doc/lispref/internals.texi10
-rw-r--r--doc/lispref/loading.texi52
-rw-r--r--doc/lispref/macros.texi36
-rw-r--r--doc/lispref/minibuf.texi9
-rw-r--r--doc/lispref/sequences.texi2
-rw-r--r--doc/lispref/streams.texi5
-rw-r--r--doc/lispref/symbols.texi20
-rw-r--r--doc/lispref/two-volume.make5
20 files changed, 320 insertions, 236 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 238a8ebf8cc..60fba317232 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,49 @@
12012-05-09 Chong Yidong <cyd@gnu.org>
2
3 * frames.texi (Mouse References, Mouse Commands): Fix index
4 entries (Bug#11362).
5
62012-05-09 Glenn Morris <rgm@gnu.org>
7
8 * custom.texi (Customization Groups, Custom Themes, Examining):
9 Improve page breaks.
10
11 * rmail.texi (Rmail Display): Use example rather than smallexample.
12
13 * calendar.texi: Convert inforefs to refs.
14
15 * dired.texi (Dired Enter): Improve page break.
16
17 * abbrevs.texi (Abbrev Concepts): Copyedits.
18
19 * maintaining.texi (Registering, Tag Syntax):
20 Tweak line and page breaks.
21
22 * programs.texi (Programs, Electric C): Copyedits.
23 (Program Modes): Add xref to Fortran.
24 (Left Margin Paren): Remove what was (oddly enough) the only use
25 of defvar in the entire Emacs manual.
26 (Hungry Delete): Remove footnote about ancient Emacs version.
27 (Other C Commands): Use example rather than smallexample.
28
29 * text.texi (Pages, Filling, Foldout, Org Mode, HTML Mode)
30 (Nroff Mode, Enriched Indentation, Table Rows and Columns):
31 Tweak line and page breaks.
32
33 * modes.texi (Major Modes, Minor Modes): Reword to improve page-breaks.
34 (Major Modes): Use example rather than smallexample.
35
36 * mule.texi (Output Coding): Reword to improve page-breaks.
37
38 * frames.texi (Fonts): Tweak line and page breaks.
39 Use example rather than smallexample. Change cross-reference.
40 (Text-Only Mouse): Fix xref.
41
42 * buffers.texi (Buffers, Kill Buffer, Several Buffers)
43 (Indirect Buffers): Tweak line- and page-breaks.
44
45 * fixit.texi (Fixit, Undo): Reword to improve page-breaks.
46
12012-05-05 Glenn Morris <rgm@gnu.org> 472012-05-05 Glenn Morris <rgm@gnu.org>
2 48
3 * custom.texi (Customization Groups, Custom Themes, Examining): 49 * custom.texi (Customization Groups, Custom Themes, Examining):
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 80a12afeb1b..ee468e6f685 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -67,6 +67,7 @@ for doing so on MS-DOS).
67@node Mouse Commands 67@node Mouse Commands
68@section Mouse Commands for Editing 68@section Mouse Commands for Editing
69@cindex mouse buttons (what they do) 69@cindex mouse buttons (what they do)
70@cindex mouse, selecting text using
70 71
71@kindex Mouse-1 72@kindex Mouse-1
72@kindex Mouse-2 73@kindex Mouse-2
@@ -106,6 +107,7 @@ setting the variable @code{x-mouse-click-focus-ignore-position} to
106selects the frame, without doing anything else; clicking again selects 107selects the frame, without doing anything else; clicking again selects
107the window and sets the cursor position. 108the window and sets the cursor position.
108 109
110@cindex mouse, dragging
109@findex mouse-set-region 111@findex mouse-set-region
110 Holding down @kbd{Mouse-1} and ``dragging'' the mouse over a stretch 112 Holding down @kbd{Mouse-1} and ``dragging'' the mouse over a stretch
111of text activates the region around that text 113of text activates the region around that text
@@ -235,8 +237,8 @@ Select the text you drag across, in the form of whole lines.
235 237
236@node Mouse References 238@node Mouse References
237@section Following References with the Mouse 239@section Following References with the Mouse
238@kindex Mouse-1 @r{(selection)} 240@kindex Mouse-1 @r{(on buttons)}
239@kindex Mouse-2 @r{(selection)} 241@kindex Mouse-2 @r{(on buttons)}
240@cindex hyperlinks 242@cindex hyperlinks
241@cindex links 243@cindex links
242@cindex text buttons 244@cindex text buttons
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog
index 1191b0de919..e556fa7e998 100644
--- a/doc/lispintro/ChangeLog
+++ b/doc/lispintro/ChangeLog
@@ -1,3 +1,12 @@
12012-05-09 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp-intro.texi (Making Errors): Don't mention Emacs 20.
4 (Void Function, Wrong Type of Argument, Recursion with list)
5 (Simple Extension): Assume a non-ancient Emacs.
6 (Void Variable, Switching Buffers): Improve page breaks.
7
8 * emacs-lisp-intro.texi: Update GNU Press contact details.
9
12012-05-05 Glenn Morris <rgm@gnu.org> 102012-05-05 Glenn Morris <rgm@gnu.org>
2 11
3 * emacs-lisp-intro.texi (Making Errors): Don't mention Emacs 20. 12 * emacs-lisp-intro.texi (Making Errors): Don't mention Emacs 20.
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 1c9cd213830..9446333db2a 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -238,7 +238,7 @@ GNU Press, @hfill @uref{http://www.fsf.org/campaigns/gnu-press/}@*
238a division of the @hfill email: @email{sales@@fsf.org}@* 238a division of the @hfill email: @email{sales@@fsf.org}@*
239Free Software Foundation, Inc. @hfill Tel: +1 (617) 542-5942@* 239Free Software Foundation, Inc. @hfill Tel: +1 (617) 542-5942@*
24051 Franklin Street, Fifth Floor @hfill Fax: +1 (617) 542-2652@* 24051 Franklin Street, Fifth Floor @hfill Fax: +1 (617) 542-2652@*
241Boston, MA 02110-1301 USA 241Boston, MA 02110-1301 USA
242@end iftex 242@end iftex
243 243
244@ifnottex 244@ifnottex
@@ -249,7 +249,7 @@ GNU Press, http://www.fsf.org/campaigns/gnu-press/
249a division of the email: sales@@fsf.org 249a division of the email: sales@@fsf.org
250Free Software Foundation, Inc. Tel: +1 (617) 542-5942 250Free Software Foundation, Inc. Tel: +1 (617) 542-5942
25151 Franklin Street, Fifth Floor Fax: +1 (617) 542-2652 25151 Franklin Street, Fifth Floor Fax: +1 (617) 542-2652
252Boston, MA 02110-1301 USA 252Boston, MA 02110-1301 USA
253@end example 253@end example
254@end ifnottex 254@end ifnottex
255 255
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 89f91e91498..fb6d8fcada3 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,56 @@
12012-05-09 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (clean, mostlyclean): Add some more vol1/2 items.
4
5 * two-volume.make (emacsdir): New.
6 (tex): Add directory with emacsver.texi to TEXINPUTS.
7
8 * minibuf.texi (Minibuffer History, Basic Completion):
9 Tweak page breaks.
10
11 * internals.texi (Garbage Collection, Memory Usage)
12 (Writing Emacs Primitives): Tweak page breaks.
13
14 * streams.texi (Output Variables): Improve page break.
15
16 * edebug.texi (Edebug Display Update): Improve page break.
17
18 * compile.texi (Disassembly): Condense the examples.
19
20 * eval.texi, functions.texi, loading.texi, macros.texi:
21 Where possible, use example rather than smallexample.
22
23 * symbols.texi: Where possible, use example rather than smallexample.
24 (Symbol Components): Fix typo.
25 (Other Plists): Tweak page break.
26
27 * sequences.texi (Arrays): Tweak page breaks.
28
29 * customize.texi: Where possible, use example rather than smallexample.
30 (Common Keywords, Variable Definitions, Applying Customizations)
31 (Custom Themes): Tweak page breaks.
32
33 * control.texi: Where possible, use example rather than smallexample.
34 (Sequencing, Conditionals, Signaling Errors, Handling Errors):
35 Tweak page breaks.
36
37 * lists.texi (List-related Predicates, List Variables):
38 Tweak page-breaks.
39 (Sets And Lists): Convert inforef to xref.
40
41 * text.texi (Auto Filling): Don't mention Emacs 19.
42
43 * commands.texi (Event Input Misc): Don't mention unread-command-char.
44 * numbers.texi (Predicates on Numbers): Don't mention Emacs 18.
45
46 * objects.texi (Process Type, Overlay Type): Tweak page-breaks.
47
48 * intro.texi (Caveats): Copyedit.
49 (Lisp History): Convert inforef to xref.
50 (Lisp History, Printing Notation, Version Info): Improve page-breaks.
51
52 * elisp.texi (DATE): Forgot to change the month in 2012-04-21 change.
53
12012-05-08 Glenn Morris <rgm@gnu.org> 542012-05-08 Glenn Morris <rgm@gnu.org>
2 55
3 * two.el: Remove; unused since creation of two-volume.make. 56 * two.el: Remove; unused since creation of two-volume.make.
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 19624693aa7..f1e3fba3691 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -132,10 +132,11 @@ elisp.pdf: $(srcs)
132mostlyclean: 132mostlyclean:
133 rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ 133 rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
134 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs 134 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
135 rm -f elisp[12]* 135 rm -f elisp[12]* vol[12].tmp
136 136
137clean: mostlyclean 137clean: mostlyclean
138 rm -f elisp.dvi elisp.pdf elisp.ps vol[12].pdf 138 rm -f elisp.dvi elisp.pdf elisp.ps
139 rm -f vol[12].dvi vol[12].pdf vol[12].ps
139 rm -rf elisp.html 140 rm -rf elisp.html
140 rm -f emacs-lispref-${version}.tar* 141 rm -f emacs-lispref-${version}.tar*
141 142
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index 8cebd9fade6..c1e0706bb43 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -637,41 +637,34 @@ Lisp source; these do not appear in the output of @code{disassemble}.
637@end group 637@end group
638 638
639@group 639@group
6400 varref integer ; @r{Get the value of @code{integer}} 6400 varref integer ; @r{Get the value of @code{integer} and}
641 ; @r{and push it onto the stack.} 641 ; @r{push it onto the stack.}
6421 constant 1 ; @r{Push 1 onto stack.} 6421 constant 1 ; @r{Push 1 onto stack.}
643@end group 643@end group
644
645@group 644@group
6462 eqlsign ; @r{Pop top two values off stack, compare} 6452 eqlsign ; @r{Pop top two values off stack, compare}
647 ; @r{them, and push result onto stack.} 646 ; @r{them, and push result onto stack.}
648@end group 647@end group
649
650@group 648@group
6513 goto-if-nil 1 ; @r{Pop and test top of stack;} 6493 goto-if-nil 1 ; @r{Pop and test top of stack;}
652 ; @r{if @code{nil}, go to 1,} 650 ; @r{if @code{nil}, go to 1, else continue.}
653 ; @r{else continue.} 6516 constant 1 ; @r{Push 1 onto top of stack.}
6546 constant 1 ; @r{Push 1 onto top of stack.} 6527 return ; @r{Return the top element of the stack.}
6557 return ; @r{Return the top element}
656 ; @r{of the stack.}
657@end group 653@end group
658
659@group 654@group
6608:1 varref integer ; @r{Push value of @code{integer} onto stack.} 6558:1 varref integer ; @r{Push value of @code{integer} onto stack.}
6619 constant factorial ; @r{Push @code{factorial} onto stack.} 6569 constant factorial ; @r{Push @code{factorial} onto stack.}
66210 varref integer ; @r{Push value of @code{integer} onto stack.} 65710 varref integer ; @r{Push value of @code{integer} onto stack.}
66311 sub1 ; @r{Pop @code{integer}, decrement value,} 65811 sub1 ; @r{Pop @code{integer}, decrement value,}
664 ; @r{push new value onto stack.} 659 ; @r{push new value onto stack.}
66512 call 1 ; @r{Call function @code{factorial} using} 66012 call 1 ; @r{Call function @code{factorial} using first}
666 ; @r{the first (i.e., the top) element} 661 ; @r{(i.e. top) stack element as argument;}
667 ; @r{of the stack as the argument;} 662 ; @r{push returned value onto stack.}
668 ; @r{push returned value onto stack.}
669@end group 663@end group
670
671@group 664@group
67213 mult ; @r{Pop top two values off stack, multiply} 66513 mult ; @r{Pop top two values off stack, multiply}
673 ; @r{them, and push result onto stack.} 666 ; @r{them, and push result onto stack.}
67414 return ; @r{Return the top element of stack.} 66714 return ; @r{Return the top element of the stack.}
675@end group 668@end group
676@end example 669@end example
677 670
@@ -693,70 +686,56 @@ The @code{silly-loop} function is somewhat more complex:
693 @print{} byte-code for silly-loop: 686 @print{} byte-code for silly-loop:
694 doc: Return time before and after N iterations of a loop. 687 doc: Return time before and after N iterations of a loop.
695 args: (n) 688 args: (n)
689@end group
696 690
6970 constant current-time-string ; @r{Push} 691@group
698 ; @r{@code{current-time-string}} 6920 constant current-time-string ; @r{Push @code{current-time-string}}
699 ; @r{onto top of stack.} 693 ; @r{onto top of stack.}
700@end group 694@end group
701
702@group 695@group
7031 call 0 ; @r{Call @code{current-time-string}} 6961 call 0 ; @r{Call @code{current-time-string} with no}
704 ; @r{with no argument,} 697 ; @r{argument, push result onto stack.}
705 ; @r{pushing result onto stack.}
706@end group 698@end group
707
708@group 699@group
7092 varbind t1 ; @r{Pop stack and bind @code{t1}} 7002 varbind t1 ; @r{Pop stack and bind @code{t1} to popped value.}
710 ; @r{to popped value.}
711@end group 701@end group
712
713@group 702@group
7143:1 varref n ; @r{Get value of @code{n} from} 7033:1 varref n ; @r{Get value of @code{n} from the environment}
715 ; @r{the environment and push} 704 ; @r{and push the value on the stack.}
716 ; @r{the value onto the stack.} 7054 sub1 ; @r{Subtract 1 from top of stack.}
7174 sub1 ; @r{Subtract 1 from top of stack.}
718@end group 706@end group
719
720@group 707@group
7215 dup ; @r{Duplicate the top of the stack;} 7085 dup ; @r{Duplicate top of stack; i.e. copy the top}
722 ; @r{i.e., copy the top of} 709 ; @r{of the stack and push copy onto stack.}
723 ; @r{the stack and push the} 7106 varset n ; @r{Pop the top of the stack,}
724 ; @r{copy onto the stack.} 711 ; @r{and bind @code{n} to the value.}
7256 varset n ; @r{Pop the top of the stack,} 712
726 ; @r{and bind @code{n} to the value.} 713;; @r{(In effect, the sequence @code{dup varset} copies the top of the stack}
727 714;; @r{into the value of @code{n} without popping it.)}
728 ; @r{In effect, the sequence @code{dup varset}}
729 ; @r{copies the top of the stack}
730 ; @r{into the value of @code{n}}
731 ; @r{without popping it.}
732@end group 715@end group
733 716
734@group 717@group
7357 constant 0 ; @r{Push 0 onto stack.} 7187 constant 0 ; @r{Push 0 onto stack.}
7368 gtr ; @r{Pop top two values off stack,} 7198 gtr ; @r{Pop top two values off stack,}
737 ; @r{test if @var{n} is greater than 0} 720 ; @r{test if @var{n} is greater than 0}
738 ; @r{and push result onto stack.} 721 ; @r{and push result onto stack.}
739@end group 722@end group
740
741@group 723@group
7429 goto-if-not-nil 1 ; @r{Goto 1 if @code{n} > 0} 7249 goto-if-not-nil 1 ; @r{Goto 1 if @code{n} > 0}
743 ; @r{(this continues the while loop)} 725 ; @r{(this continues the while loop)}
744 ; @r{else continue.} 726 ; @r{else continue.}
745@end group 727@end group
746
747@group 728@group
74812 varref t1 ; @r{Push value of @code{t1} onto stack.} 72912 varref t1 ; @r{Push value of @code{t1} onto stack.}
74913 constant current-time-string ; @r{Push @code{current-time-string}} 73013 constant current-time-string ; @r{Push @code{current-time-string}}
750 ; @r{onto top of stack.} 731 ; @r{onto the top of the stack.}
75114 call 0 ; @r{Call @code{current-time-string} again.} 73214 call 0 ; @r{Call @code{current-time-string} again.}
752@end group 733@end group
753
754@group 734@group
75515 unbind 1 ; @r{Unbind @code{t1} in local environment.} 73515 unbind 1 ; @r{Unbind @code{t1} in local environment.}
75616 list2 ; @r{Pop top two elements off stack,} 73616 list2 ; @r{Pop top two elements off stack, create a}
757 ; @r{create a list of them,} 737 ; @r{list of them, and push it onto stack.}
758 ; @r{and push list onto stack.} 73817 return ; @r{Return value of the top of stack.}
75917 return ; @r{Return value of the top of stack.}
760@end group 739@end group
761@end example 740@end example
762 741
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index d6dee7ecf91..a707cda2166 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -93,8 +93,8 @@ order, returning the result of the final form.
93@end example 93@end example
94@end defspec 94@end defspec
95 95
96 Two other control constructs likewise evaluate a series of forms but return 96 Two other constructs likewise evaluate a series of forms but return
97a different value: 97different values:
98 98
99@defspec prog1 form1 forms@dots{} 99@defspec prog1 form1 forms@dots{}
100This special form evaluates @var{form1} and all of the @var{forms}, in 100This special form evaluates @var{form1} and all of the @var{forms}, in
@@ -159,8 +159,8 @@ If @var{condition} has the value @code{nil}, and no @var{else-forms} are
159given, @code{if} returns @code{nil}. 159given, @code{if} returns @code{nil}.
160 160
161@code{if} is a special form because the branch that is not selected is 161@code{if} is a special form because the branch that is not selected is
162never evaluated---it is ignored. Thus, in the example below, 162never evaluated---it is ignored. Thus, in this example,
163@code{true} is not printed because @code{print} is never called. 163@code{true} is not printed because @code{print} is never called:
164 164
165@example 165@example
166@group 166@group
@@ -257,9 +257,7 @@ clauses was successful. To do this, we use @code{t} as the
257@var{condition} of the last clause, like this: @code{(t 257@var{condition} of the last clause, like this: @code{(t
258@var{body-forms})}. The form @code{t} evaluates to @code{t}, which is 258@var{body-forms})}. The form @code{t} evaluates to @code{t}, which is
259never @code{nil}, so this clause never fails, provided the @code{cond} 259never @code{nil}, so this clause never fails, provided the @code{cond}
260gets to it at all. 260gets to it at all. For example:
261
262For example,
263 261
264@example 262@example
265@group 263@group
@@ -811,10 +809,10 @@ handlers that handle the error: @code{condition-case} binds a local
811variable to a list of the form @code{(@var{error-symbol} .@: 809variable to a list of the form @code{(@var{error-symbol} .@:
812@var{data})} (@pxref{Handling Errors}). 810@var{data})} (@pxref{Handling Errors}).
813 811
814The function @code{signal} never returns (though in older Emacs versions 812The function @code{signal} never returns.
815it could sometimes return). 813@c (though in older Emacs versions it sometimes could).
816 814
817@smallexample 815@example
818@group 816@group
819(signal 'wrong-number-of-arguments '(x y)) 817(signal 'wrong-number-of-arguments '(x y))
820 @error{} Wrong number of arguments: x, y 818 @error{} Wrong number of arguments: x, y
@@ -824,7 +822,7 @@ it could sometimes return).
824(signal 'no-such-error '("My unknown error condition")) 822(signal 'no-such-error '("My unknown error condition"))
825 @error{} peculiar error: "My unknown error condition" 823 @error{} peculiar error: "My unknown error condition"
826@end group 824@end group
827@end smallexample 825@end example
828@end defun 826@end defun
829 827
830@cindex CL note---no continuable errors 828@cindex CL note---no continuable errors
@@ -990,7 +988,7 @@ to allow the debugger to run before the handler); @var{body} is one or more
990Lisp expressions to be executed when this handler handles an error. 988Lisp expressions to be executed when this handler handles an error.
991Here are examples of handlers: 989Here are examples of handlers:
992 990
993@smallexample 991@example
994@group 992@group
995(error nil) 993(error nil)
996 994
@@ -1000,7 +998,7 @@ Here are examples of handlers:
1000 (message 998 (message
1001 "Either division by zero or failure to open a file")) 999 "Either division by zero or failure to open a file"))
1002@end group 1000@end group
1003@end smallexample 1001@end example
1004 1002
1005Each error that occurs has an @dfn{error symbol} that describes what 1003Each error that occurs has an @dfn{error symbol} that describes what
1006kind of error it is. The @code{error-conditions} property of this 1004kind of error it is. The @code{error-conditions} property of this
@@ -1033,9 +1031,9 @@ Sometimes it is necessary to re-throw a signal caught by
1033@code{condition-case}, for some outer-level handler to catch. Here's 1031@code{condition-case}, for some outer-level handler to catch. Here's
1034how to do that: 1032how to do that:
1035 1033
1036@smallexample 1034@example
1037 (signal (car err) (cdr err)) 1035 (signal (car err) (cdr err))
1038@end smallexample 1036@end example
1039 1037
1040@noindent 1038@noindent
1041where @code{err} is the error description variable, the first argument 1039where @code{err} is the error description variable, the first argument
@@ -1054,7 +1052,7 @@ Here is an example of using @code{condition-case} to handle the error
1054that results from dividing by zero. The handler displays the error 1052that results from dividing by zero. The handler displays the error
1055message (but without a beep), then returns a very large number. 1053message (but without a beep), then returns a very large number.
1056 1054
1057@smallexample 1055@example
1058@group 1056@group
1059(defun safe-divide (dividend divisor) 1057(defun safe-divide (dividend divisor)
1060 (condition-case err 1058 (condition-case err
@@ -1075,22 +1073,24 @@ message (but without a beep), then returns a very large number.
1075 @print{} Arithmetic error: (arith-error) 1073 @print{} Arithmetic error: (arith-error)
1076@result{} 1000000 1074@result{} 1000000
1077@end group 1075@end group
1078@end smallexample 1076@end example
1079 1077
1080@noindent 1078@noindent
1081The handler specifies condition name @code{arith-error} so that it will handle only division-by-zero errors. Other kinds of errors will not be handled, at least not by this @code{condition-case}. Thus, 1079The handler specifies condition name @code{arith-error} so that it
1080will handle only division-by-zero errors. Other kinds of errors will
1081not be handled (by this @code{condition-case}). Thus:
1082 1082
1083@smallexample 1083@example
1084@group 1084@group
1085(safe-divide nil 3) 1085(safe-divide nil 3)
1086 @error{} Wrong type argument: number-or-marker-p, nil 1086 @error{} Wrong type argument: number-or-marker-p, nil
1087@end group 1087@end group
1088@end smallexample 1088@end example
1089 1089
1090 Here is a @code{condition-case} that catches all kinds of errors, 1090 Here is a @code{condition-case} that catches all kinds of errors,
1091including those signaled with @code{error}: 1091including those from @code{error}:
1092 1092
1093@smallexample 1093@example
1094@group 1094@group
1095(setq baz 34) 1095(setq baz 34)
1096 @result{} 34 1096 @result{} 34
@@ -1108,7 +1108,7 @@ including those signaled with @code{error}:
1108@print{} The error was: (error "Rats! The variable baz was 34, not 35") 1108@print{} The error was: (error "Rats! The variable baz was 34, not 35")
1109@result{} 2 1109@result{} 2
1110@end group 1110@end group
1111@end smallexample 1111@end example
1112 1112
1113@defmac ignore-errors body@dots{} 1113@defmac ignore-errors body@dots{}
1114This construct executes @var{body}, ignoring any errors that occur 1114This construct executes @var{body}, ignoring any errors that occur
@@ -1119,12 +1119,12 @@ otherwise, it returns @code{nil}.
1119Here's the example at the beginning of this subsection rewritten using 1119Here's the example at the beginning of this subsection rewritten using
1120@code{ignore-errors}: 1120@code{ignore-errors}:
1121 1121
1122@smallexample 1122@example
1123@group 1123@group
1124 (ignore-errors 1124 (ignore-errors
1125 (delete-file filename)) 1125 (delete-file filename))
1126@end group 1126@end group
1127@end smallexample 1127@end example
1128@end defmac 1128@end defmac
1129 1129
1130@defmac with-demoted-errors body@dots{} 1130@defmac with-demoted-errors body@dots{}
@@ -1279,7 +1279,7 @@ Variables}).
1279 For example, here we make an invisible buffer for temporary use, and 1279 For example, here we make an invisible buffer for temporary use, and
1280make sure to kill it before finishing: 1280make sure to kill it before finishing:
1281 1281
1282@smallexample 1282@example
1283@group 1283@group
1284(let ((buffer (get-buffer-create " *temp*"))) 1284(let ((buffer (get-buffer-create " *temp*")))
1285 (with-current-buffer buffer 1285 (with-current-buffer buffer
@@ -1287,7 +1287,7 @@ make sure to kill it before finishing:
1287 @var{body-form} 1287 @var{body-form}
1288 (kill-buffer buffer)))) 1288 (kill-buffer buffer))))
1289@end group 1289@end group
1290@end smallexample 1290@end example
1291 1291
1292@noindent 1292@noindent
1293You might think that we could just as well write @code{(kill-buffer 1293You might think that we could just as well write @code{(kill-buffer
@@ -1312,7 +1312,7 @@ is protected with a form that guarantees deletion of the process in the
1312event of failure. Otherwise, Emacs might fill up with useless 1312event of failure. Otherwise, Emacs might fill up with useless
1313subprocesses. 1313subprocesses.
1314 1314
1315@smallexample 1315@example
1316@group 1316@group
1317(let ((win nil)) 1317(let ((win nil))
1318 (unwind-protect 1318 (unwind-protect
@@ -1323,7 +1323,7 @@ subprocesses.
1323 (error "Ftp login failed"))) 1323 (error "Ftp login failed")))
1324 (or win (and process (delete-process process))))) 1324 (or win (and process (delete-process process)))))
1325@end group 1325@end group
1326@end smallexample 1326@end example
1327 1327
1328 This example has a small bug: if the user types @kbd{C-g} to 1328 This example has a small bug: if the user types @kbd{C-g} to
1329quit, and the quit happens immediately after the function 1329quit, and the quit happens immediately after the function
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index c8e60fd84f4..2fc07907166 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -157,7 +157,7 @@ Packages distributed as part of Emacs that use the
157@defvar customize-package-emacs-version-alist 157@defvar customize-package-emacs-version-alist
158This alist provides a mapping for the versions of Emacs that are 158This alist provides a mapping for the versions of Emacs that are
159associated with versions of a package listed in the 159associated with versions of a package listed in the
160@code{:package-version} keyword. Its elements look like this: 160@code{:package-version} keyword. Its elements are:
161 161
162@example 162@example
163(@var{package} (@var{pversion} . @var{eversion})@dots{}) 163(@var{package} (@var{pversion} . @var{eversion})@dots{})
@@ -168,6 +168,8 @@ elements that contain a package version @var{pversion} with an
168associated Emacs version @var{eversion}. These versions are strings. 168associated Emacs version @var{eversion}. These versions are strings.
169For example, the MH-E package updates this alist with the following: 169For example, the MH-E package updates this alist with the following:
170 170
171@c Must be small else too wide.
172@c FIXME obviously this is out of date (in the code).
171@smallexample 173@smallexample
172(add-to-list 'customize-package-emacs-version-alist 174(add-to-list 'customize-package-emacs-version-alist
173 '(MH-E ("6.0" . "22.1") ("6.1" . "22.1") ("7.0" . "22.1") 175 '(MH-E ("6.0" . "22.1") ("6.1" . "22.1") ("7.0" . "22.1")
@@ -394,7 +396,7 @@ Set the variable's @code{safe-local-variable} property to
394@item :set-after @var{variables} 396@item :set-after @var{variables}
395@kindex set-after@r{, @code{defcustom} keyword} 397@kindex set-after@r{, @code{defcustom} keyword}
396When setting variables according to saved customizations, make sure to 398When setting variables according to saved customizations, make sure to
397set the variables @var{variables} before this one; in other words, delay 399set the variables @var{variables} before this one; i.e., delay
398setting this variable until after those others have been handled. Use 400setting this variable until after those others have been handled. Use
399@code{:set-after} if setting this variable won't work properly unless 401@code{:set-after} if setting this variable won't work properly unless
400those other variables already have their intended values. 402those other variables already have their intended values.
@@ -673,9 +675,9 @@ The argument to the @code{:options} keywords should be a list of
673specifications for reasonable keys in the alist. Ordinarily, they are 675specifications for reasonable keys in the alist. Ordinarily, they are
674simply atoms, which stand for themselves. For example: 676simply atoms, which stand for themselves. For example:
675 677
676@smallexample 678@example
677:options '("foo" "bar" "baz") 679:options '("foo" "bar" "baz")
678@end smallexample 680@end example
679 681
680@noindent 682@noindent
681specifies that there are three ``known'' keys, namely @code{"foo"}, 683specifies that there are three ``known'' keys, namely @code{"foo"},
@@ -687,9 +689,9 @@ integer. You can specify this by using a list instead of an atom in
687the list. The first element will specify the key, like before, while 689the list. The first element will specify the key, like before, while
688the second element will specify the value type. For example: 690the second element will specify the value type. For example:
689 691
690@smallexample 692@example
691:options '("foo" ("bar" integer) "baz") 693:options '("foo" ("bar" integer) "baz")
692@end smallexample 694@end example
693 695
694Finally, you may want to change how the key is presented. By default, 696Finally, you may want to change how the key is presented. By default,
695the key is simply shown as a @code{const}, since the user cannot change 697the key is simply shown as a @code{const}, since the user cannot change
@@ -699,37 +701,37 @@ you may want to use a more specialized type for presenting the key, like
699This is done by using a customization type specification instead of a 701This is done by using a customization type specification instead of a
700symbol for the key. 702symbol for the key.
701 703
702@smallexample 704@example
703:options '("foo" ((function-item some-function) integer) 705:options '("foo" ((function-item some-function) integer)
704 "baz") 706 "baz")
705@end smallexample 707@end example
706 708
707Many alists use lists with two elements, instead of cons cells. For 709Many alists use lists with two elements, instead of cons cells. For
708example, 710example,
709 711
710@smallexample 712@example
711(defcustom list-alist '(("foo" 1) ("bar" 2) ("baz" 3)) 713(defcustom list-alist '(("foo" 1) ("bar" 2) ("baz" 3))
712 "Each element is a list of the form (KEY VALUE).") 714 "Each element is a list of the form (KEY VALUE).")
713@end smallexample 715@end example
714 716
715@noindent 717@noindent
716instead of 718instead of
717 719
718@smallexample 720@example
719(defcustom cons-alist '(("foo" . 1) ("bar" . 2) ("baz" . 3)) 721(defcustom cons-alist '(("foo" . 1) ("bar" . 2) ("baz" . 3))
720 "Each element is a cons-cell (KEY . VALUE).") 722 "Each element is a cons-cell (KEY . VALUE).")
721@end smallexample 723@end example
722 724
723Because of the way lists are implemented on top of cons cells, you can 725Because of the way lists are implemented on top of cons cells, you can
724treat @code{list-alist} in the example above as a cons cell alist, where 726treat @code{list-alist} in the example above as a cons cell alist, where
725the value type is a list with a single element containing the real 727the value type is a list with a single element containing the real
726value. 728value.
727 729
728@smallexample 730@example
729(defcustom list-alist '(("foo" 1) ("bar" 2) ("baz" 3)) 731(defcustom list-alist '(("foo" 1) ("bar" 2) ("baz" 3))
730 "Each element is a list of the form (KEY VALUE)." 732 "Each element is a list of the form (KEY VALUE)."
731 :type '(alist :value-type (group integer))) 733 :type '(alist :value-type (group integer)))
732@end smallexample 734@end example
733 735
734The @code{group} widget is used here instead of @code{list} only because 736The @code{group} widget is used here instead of @code{list} only because
735the formatting is better suited for the purpose. 737the formatting is better suited for the purpose.
@@ -737,14 +739,14 @@ the formatting is better suited for the purpose.
737Similarly, you can have alists with more values associated with each 739Similarly, you can have alists with more values associated with each
738key, using variations of this trick: 740key, using variations of this trick:
739 741
740@smallexample 742@example
741(defcustom person-data '(("brian" 50 t) 743(defcustom person-data '(("brian" 50 t)
742 ("dorith" 55 nil) 744 ("dorith" 55 nil)
743 ("ken" 52 t)) 745 ("ken" 52 t))
744 "Alist of basic info about people. 746 "Alist of basic info about people.
745Each element has the form (NAME AGE MALE-FLAG)." 747Each element has the form (NAME AGE MALE-FLAG)."
746 :type '(alist :value-type (group integer boolean))) 748 :type '(alist :value-type (group integer boolean)))
747@end smallexample 749@end example
748 750
749@item (plist :key-type @var{key-type} :value-type @var{value-type}) 751@item (plist :key-type @var{key-type} :value-type @var{value-type})
750This customization type is similar to @code{alist} (see above), except 752This customization type is similar to @code{alist} (see above), except
@@ -1255,7 +1257,7 @@ customization settings for variables and faces, respectively. When
1255the user invokes @samp{Save for future sessions} in the Customize 1257the user invokes @samp{Save for future sessions} in the Customize
1256interface, that takes effect by writing a @code{custom-set-variables} 1258interface, that takes effect by writing a @code{custom-set-variables}
1257and/or a @code{custom-set-faces} form into the custom file, to be 1259and/or a @code{custom-set-faces} form into the custom file, to be
1258evaluated the next time Emacs starts up. 1260evaluated the next time Emacs starts.
1259 1261
1260@defun custom-set-variables &rest args 1262@defun custom-set-variables &rest args
1261This function installs the variable customizations specified by 1263This function installs the variable customizations specified by
@@ -1326,11 +1328,10 @@ the theme; this is the description shown when the user invokes the
1326@code{describe-theme} command or types @kbd{?} in the @samp{*Custom 1328@code{describe-theme} command or types @kbd{?} in the @samp{*Custom
1327Themes*} buffer. 1329Themes*} buffer.
1328 1330
1329Two special theme names are disallowed: @code{user} is a ``dummy'' 1331Two special theme names are disallowed (using them causes an error):
1330theme which stores the user's direct customization settings, and 1332@code{user} is a ``dummy'' theme that stores the user's direct
1331@code{changed} is a ``dummy'' theme which stores changes made outside 1333customization settings, and @code{changed} is a ``dummy'' theme that
1332of the Customize system. If you specify either of these as the 1334stores changes made outside of the Customize system.
1333@var{theme} argument, @code{deftheme} signals an error.
1334@end defmac 1335@end defmac
1335 1336
1336@defmac provide-theme theme 1337@defmac provide-theme theme
@@ -1378,7 +1379,7 @@ displays the source file and asks for confirmation from the user
1378before loading any non-built-in theme for the first time. 1379before loading any non-built-in theme for the first time.
1379 1380
1380 The following functions are useful for programmatically enabling and 1381 The following functions are useful for programmatically enabling and
1381disabling Custom themes: 1382disabling themes:
1382 1383
1383@defun custom-theme-p theme 1384@defun custom-theme-p theme
1384This function return a non-@code{nil} value if @var{theme} (a symbol) 1385This function return a non-@code{nil} value if @var{theme} (a symbol)
@@ -1391,14 +1392,11 @@ it returns @code{nil}.
1391This function loads the Custom theme named @var{theme} from its source 1392This function loads the Custom theme named @var{theme} from its source
1392file, looking for the source file in the directories specified by the 1393file, looking for the source file in the directories specified by the
1393variable @code{custom-theme-load-path}. @xref{Custom Themes,,, emacs, 1394variable @code{custom-theme-load-path}. @xref{Custom Themes,,, emacs,
1394The GNU Emacs Manual}. It also @dfn{enables} the theme, causing its 1395The GNU Emacs Manual}. It also @dfn{enables} the theme (unless the
1395variable and face settings to take effect. 1396optional argument @var{no-enable} is non-@code{nil}), causing its
1396 1397variable and face settings to take effect. It prompts the user for
1397If the optional argument @var{no-confirm} is non-@code{nil}, this 1398confirmation before loading the theme, unless the optional argument
1398skips prompting the user for confirmation before loading the theme. 1399@var{no-confirm} is non-@code{nil}.
1399
1400If the optional argument @var{no-enable} is non-@code{nil}, the theme
1401is loaded but not enabled.
1402@end deffn 1400@end deffn
1403 1401
1404@deffn Command enable-theme theme 1402@deffn Command enable-theme theme
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi
index 9d50f5fb31f..e97e90f947b 100644
--- a/doc/lispref/edebug.texi
+++ b/doc/lispref/edebug.texi
@@ -975,8 +975,8 @@ unless @code{edebug-continue-kbd-macro} is non-@code{nil}.
975@c needs an xref to be on just one line. 975@c needs an xref to be on just one line.
976When Edebug needs to display something (e.g., in trace mode), it saves 976When Edebug needs to display something (e.g., in trace mode), it saves
977the current window configuration from ``outside'' Edebug 977the current window configuration from ``outside'' Edebug
978(@pxref{Window Configurations}). When you exit Edebug (by continuing 978(@pxref{Window Configurations}). When you exit Edebug, it restores
979the program), it restores the previous window configuration. 979the previous window configuration.
980 980
981Emacs redisplays only when it pauses. Usually, when you continue 981Emacs redisplays only when it pauses. Usually, when you continue
982execution, the program re-enters Edebug at a breakpoint or after 982execution, the program re-enters Edebug at a breakpoint or after
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index 76059079ca1..57cdc57b1b9 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -260,16 +260,13 @@ use @code{fset} to set the function cell of a symbol and
260into the function cell of @code{first}, and the symbol @code{first} into 260into the function cell of @code{first}, and the symbol @code{first} into
261the function cell of @code{erste}. 261the function cell of @code{erste}.
262 262
263@smallexample 263@example
264@group 264@group
265;; @r{Build this function cell linkage:} 265;; @r{Build this function cell linkage:}
266;; ------------- ----- ------- ------- 266;; ------------- ----- ------- -------
267;; | #<subr car> | <-- | car | <-- | first | <-- | erste | 267;; | #<subr car> | <-- | car | <-- | first | <-- | erste |
268;; ------------- ----- ------- ------- 268;; ------------- ----- ------- -------
269@end group 269@end group
270@end smallexample
271
272@smallexample
273@group 270@group
274(symbol-function 'car) 271(symbol-function 'car)
275 @result{} #<subr car> 272 @result{} #<subr car>
@@ -286,19 +283,19 @@ the function cell of @code{erste}.
286(erste '(1 2 3)) ; @r{Call the function referenced by @code{erste}.} 283(erste '(1 2 3)) ; @r{Call the function referenced by @code{erste}.}
287 @result{} 1 284 @result{} 1
288@end group 285@end group
289@end smallexample 286@end example
290 287
291 By contrast, the following example calls a function without any symbol 288 By contrast, the following example calls a function without any symbol
292function indirection, because the first element is an anonymous Lisp 289function indirection, because the first element is an anonymous Lisp
293function, not a symbol. 290function, not a symbol.
294 291
295@smallexample 292@example
296@group 293@group
297((lambda (arg) (erste arg)) 294((lambda (arg) (erste arg))
298 '(1 2 3)) 295 '(1 2 3))
299 @result{} 1 296 @result{} 1
300@end group 297@end group
301@end smallexample 298@end example
302 299
303@noindent 300@noindent
304Executing the function itself evaluates its body; this does involve 301Executing the function itself evaluates its body; this does involve
@@ -307,18 +304,18 @@ symbol function indirection when calling @code{erste}.
307 This form is rarely used and is now deprecated. Instead, you should write it 304 This form is rarely used and is now deprecated. Instead, you should write it
308as: 305as:
309 306
310@smallexample 307@example
311@group 308@group
312(funcall (lambda (arg) (erste arg)) 309(funcall (lambda (arg) (erste arg))
313 '(1 2 3)) 310 '(1 2 3))
314@end group 311@end group
315@end smallexample 312@end example
316or just 313or just
317@smallexample 314@example
318@group 315@group
319(let ((arg '(1 2 3))) (erste arg)) 316(let ((arg '(1 2 3))) (erste arg))
320@end group 317@end group
321@end smallexample 318@end example
322 319
323 The built-in function @code{indirect-function} provides an easy way to 320 The built-in function @code{indirect-function} provides an easy way to
324perform symbol function indirection explicitly. 321perform symbol function indirection explicitly.
@@ -341,12 +338,12 @@ loop in the chain of symbols.
341 338
342Here is how you could define @code{indirect-function} in Lisp: 339Here is how you could define @code{indirect-function} in Lisp:
343 340
344@smallexample 341@example
345(defun indirect-function (function) 342(defun indirect-function (function)
346 (if (symbolp function) 343 (if (symbolp function)
347 (indirect-function (symbol-function function)) 344 (indirect-function (symbol-function function))
348 function)) 345 function))
349@end smallexample 346@end example
350@end defun 347@end defun
351 348
352@node Function Forms 349@node Function Forms
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index b5cf38ed6f2..5e393a399d3 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -397,7 +397,7 @@ after a @code{&rest} argument.
397 397
398 Here are some examples of argument lists and proper calls: 398 Here are some examples of argument lists and proper calls:
399 399
400@smallexample 400@example
401(funcall (lambda (n) (1+ n)) ; @r{One required:} 401(funcall (lambda (n) (1+ n)) ; @r{One required:}
402 1) ; @r{requires exactly one argument.} 402 1) ; @r{requires exactly one argument.}
403 @result{} 2 403 @result{} 2
@@ -409,7 +409,7 @@ after a @code{&rest} argument.
409 (+ n (apply '+ ns))) ; @r{1 or more arguments.} 409 (+ n (apply '+ ns))) ; @r{1 or more arguments.}
410 1 2 3 4 5) 410 1 2 3 4 5)
411 @result{} 15 411 @result{} 15
412@end smallexample 412@end example
413 413
414@node Function Documentation 414@node Function Documentation
415@subsection Documentation Strings of Functions 415@subsection Documentation Strings of Functions
@@ -820,7 +820,7 @@ char-table; that is, a list, a vector, a bool-vector, or a string. The
820result is always a list. The length of the result is the same as the 820result is always a list. The length of the result is the same as the
821length of @var{sequence}. For example: 821length of @var{sequence}. For example:
822 822
823@smallexample 823@example
824@group 824@group
825(mapcar 'car '((a b) (c d) (e f))) 825(mapcar 'car '((a b) (c d) (e f)))
826 @result{} (a c e) 826 @result{} (a c e)
@@ -852,7 +852,7 @@ Return the list of results."
852(mapcar* 'cons '(a b c) '(1 2 3 4)) 852(mapcar* 'cons '(a b c) '(1 2 3 4))
853 @result{} ((a . 1) (b . 2) (c . 3)) 853 @result{} ((a . 1) (b . 2) (c . 3))
854@end group 854@end group
855@end smallexample 855@end example
856@end defun 856@end defun
857 857
858@defun mapc function sequence 858@defun mapc function sequence
@@ -873,7 +873,7 @@ argument and return a string. The argument @var{sequence} can be any
873kind of sequence except a char-table; that is, a list, a vector, a 873kind of sequence except a char-table; that is, a list, a vector, a
874bool-vector, or a string. 874bool-vector, or a string.
875 875
876@smallexample 876@example
877@group 877@group
878(mapconcat 'symbol-name 878(mapconcat 'symbol-name
879 '(The cat in the hat) 879 '(The cat in the hat)
@@ -887,7 +887,7 @@ bool-vector, or a string.
887 "") 887 "")
888 @result{} "IBM.9111" 888 @result{} "IBM.9111"
889@end group 889@end group
890@end smallexample 890@end example
891@end defun 891@end defun
892 892
893@node Anonymous Functions 893@node Anonymous Functions
@@ -1188,18 +1188,18 @@ still allow the code to be byte compiled).
1188For instance, in old versions of Emacs the @code{sit-for} function 1188For instance, in old versions of Emacs the @code{sit-for} function
1189accepted three arguments, like this 1189accepted three arguments, like this
1190 1190
1191@smallexample 1191@example
1192 (sit-for seconds milliseconds nodisp) 1192 (sit-for seconds milliseconds nodisp)
1193@end smallexample 1193@end example
1194 1194
1195However, calling @code{sit-for} this way is considered obsolete 1195However, calling @code{sit-for} this way is considered obsolete
1196(@pxref{Waiting}). The old calling convention is deprecated like 1196(@pxref{Waiting}). The old calling convention is deprecated like
1197this: 1197this:
1198 1198
1199@smallexample 1199@example
1200(set-advertised-calling-convention 1200(set-advertised-calling-convention
1201 'sit-for '(seconds &optional nodisp)) 1201 'sit-for '(seconds &optional nodisp))
1202@end smallexample 1202@end example
1203@end defun 1203@end defun
1204 1204
1205@node Inline Functions 1205@node Inline Functions
@@ -1259,11 +1259,11 @@ indicates a real problem, but usually the functions in question are
1259defined in other files which would be loaded if that code is run. For 1259defined in other files which would be loaded if that code is run. For
1260example, byte-compiling @file{fortran.el} used to warn: 1260example, byte-compiling @file{fortran.el} used to warn:
1261 1261
1262@smallexample 1262@example
1263In end of data: 1263In end of data:
1264fortran.el:2152:1:Warning: the function `gud-find-c-expr' is not known 1264fortran.el:2152:1:Warning: the function `gud-find-c-expr' is not known
1265 to be defined. 1265 to be defined.
1266@end smallexample 1266@end example
1267 1267
1268In fact, @code{gud-find-c-expr} is only used in the function that 1268In fact, @code{gud-find-c-expr} is only used in the function that
1269Fortran mode uses for the local value of 1269Fortran mode uses for the local value of
@@ -1276,9 +1276,9 @@ visible. You do that with @code{declare-function}.
1276All you need to do is add a @code{declare-function} statement before the 1276All you need to do is add a @code{declare-function} statement before the
1277first use of the function in question: 1277first use of the function in question:
1278 1278
1279@smallexample 1279@example
1280(declare-function gud-find-c-expr "gud.el" nil) 1280(declare-function gud-find-c-expr "gud.el" nil)
1281@end smallexample 1281@end example
1282 1282
1283This says that @code{gud-find-c-expr} is defined in @file{gud.el} (the 1283This says that @code{gud-find-c-expr} is defined in @file{gud.el} (the
1284@samp{.el} can be omitted). The compiler takes for granted that that file 1284@samp{.el} can be omitted). The compiler takes for granted that that file
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index c9758f8704a..aad3d09695c 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -354,7 +354,7 @@ itself; the latter is only allocated when the string is created.)
354 354
355If there was overflow in pure space (@pxref{Pure Storage}), 355If there was overflow in pure space (@pxref{Pure Storage}),
356@code{garbage-collect} returns @code{nil}, because a real garbage 356@code{garbage-collect} returns @code{nil}, because a real garbage
357collection can not be done in this situation. 357collection cannot be done.
358@end deffn 358@end deffn
359 359
360@defopt garbage-collection-messages 360@defopt garbage-collection-messages
@@ -471,12 +471,12 @@ in this Emacs session.
471 471
472@defvar string-chars-consed 472@defvar string-chars-consed
473The total number of string characters that have been allocated so far 473The total number of string characters that have been allocated so far
474in this Emacs session. 474in this session.
475@end defvar 475@end defvar
476 476
477@defvar misc-objects-consed 477@defvar misc-objects-consed
478The total number of miscellaneous objects that have been allocated so 478The total number of miscellaneous objects that have been allocated so
479far in this Emacs session. These include markers and overlays, plus 479far in this session. These include markers and overlays, plus
480certain objects not visible to users. 480certain objects not visible to users.
481@end defvar 481@end defvar
482 482
@@ -580,8 +580,8 @@ there is a fixed maximum. Alternatively, it can be @code{UNEVALLED},
580indicating a special form that receives unevaluated arguments, or 580indicating a special form that receives unevaluated arguments, or
581@code{MANY}, indicating an unlimited number of evaluated arguments (the 581@code{MANY}, indicating an unlimited number of evaluated arguments (the
582equivalent of @code{&rest}). Both @code{UNEVALLED} and @code{MANY} are 582equivalent of @code{&rest}). Both @code{UNEVALLED} and @code{MANY} are
583macros. If @var{max} is a number, it may not be less than @var{min} and 583macros. If @var{max} is a number, it must be more than @var{min} but
584it may not be greater than eight. 584less than 8.
585 585
586@item interactive 586@item interactive
587This is an interactive specification, a string such as might be used as 587This is an interactive specification, a string such as might be used as
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 7bd5f04d902..c9f438f6e47 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -250,31 +250,31 @@ for @code{PATH}; directory names are separated by @samp{:} (or
250current default directory. Here is an example of how to set 250current default directory. Here is an example of how to set
251@env{EMACSLOADPATH} variable from @command{sh}: 251@env{EMACSLOADPATH} variable from @command{sh}:
252 252
253@smallexample 253@example
254export EMACSLOADPATH 254export EMACSLOADPATH
255EMACSLOADPATH=/home/foo/.emacs.d/lisp:/opt/emacs/lisp 255EMACSLOADPATH=/home/foo/.emacs.d/lisp:/opt/emacs/lisp
256@end smallexample 256@end example
257 257
258@noindent 258@noindent
259Here is how to set it from @code{csh}: 259Here is how to set it from @code{csh}:
260 260
261@smallexample 261@example
262setenv EMACSLOADPATH /home/foo/.emacs.d/lisp:/opt/emacs/lisp 262setenv EMACSLOADPATH /home/foo/.emacs.d/lisp:/opt/emacs/lisp
263@end smallexample 263@end example
264 264
265 If @env{EMACSLOADPATH} is not set (which is usually the case), Emacs 265 If @env{EMACSLOADPATH} is not set (which is usually the case), Emacs
266initializes @code{load-path} with the following two directories: 266initializes @code{load-path} with the following two directories:
267 267
268@smallexample 268@example
269"/usr/local/share/emacs/@var{version}/site-lisp" 269"/usr/local/share/emacs/@var{version}/site-lisp"
270@end smallexample 270@end example
271 271
272@noindent 272@noindent
273and 273and
274 274
275@smallexample 275@example
276"/usr/local/share/emacs/site-lisp" 276"/usr/local/share/emacs/site-lisp"
277@end smallexample 277@end example
278 278
279@noindent 279@noindent
280The first one is for locally installed packages for a particular Emacs 280The first one is for locally installed packages for a particular Emacs
@@ -303,9 +303,9 @@ packages are installed, if any (@pxref{Packaging Basics}).
303 It is common to add code to one's init file (@pxref{Init File}) to 303 It is common to add code to one's init file (@pxref{Init File}) to
304add one or more directories to @code{load-path}. For example: 304add one or more directories to @code{load-path}. For example:
305 305
306@smallexample 306@example
307(push "~/.emacs.d/lisp" load-path) 307(push "~/.emacs.d/lisp" load-path)
308@end smallexample 308@end example
309 309
310 Dumping Emacs uses a special value of @code{load-path}. If the 310 Dumping Emacs uses a special value of @code{load-path}. If the
311value of @code{load-path} at the end of dumping is unchanged (that is, 311value of @code{load-path} at the end of dumping is unchanged (that is,
@@ -339,9 +339,9 @@ similarly-named file in a directory earlier on @code{load-path}.
339 339
340For instance, suppose @code{load-path} is set to 340For instance, suppose @code{load-path} is set to
341 341
342@smallexample 342@example
343 ("/opt/emacs/site-lisp" "/usr/share/emacs/23.3/lisp") 343 ("/opt/emacs/site-lisp" "/usr/share/emacs/23.3/lisp")
344@end smallexample 344@end example
345 345
346@noindent 346@noindent
347and that both these directories contain a file named @file{foo.el}. 347and that both these directories contain a file named @file{foo.el}.
@@ -534,24 +534,24 @@ it is executed while building Emacs.
534 The following example shows how @code{doctor} is prepared for 534 The following example shows how @code{doctor} is prepared for
535autoloading with a magic comment: 535autoloading with a magic comment:
536 536
537@smallexample 537@example
538;;;###autoload 538;;;###autoload
539(defun doctor () 539(defun doctor ()
540 "Switch to *doctor* buffer and start giving psychotherapy." 540 "Switch to *doctor* buffer and start giving psychotherapy."
541 (interactive) 541 (interactive)
542 (switch-to-buffer "*doctor*") 542 (switch-to-buffer "*doctor*")
543 (doctor-mode)) 543 (doctor-mode))
544@end smallexample 544@end example
545 545
546@noindent 546@noindent
547Here's what that produces in @file{loaddefs.el}: 547Here's what that produces in @file{loaddefs.el}:
548 548
549@smallexample 549@example
550(autoload (quote doctor) "doctor" "\ 550(autoload (quote doctor) "doctor" "\
551Switch to *doctor* buffer and start giving psychotherapy. 551Switch to *doctor* buffer and start giving psychotherapy.
552 552
553\(fn)" t nil) 553\(fn)" t nil)
554@end smallexample 554@end example
555 555
556@noindent 556@noindent
557@cindex @code{fn} in function's documentation string 557@cindex @code{fn} in function's documentation string
@@ -570,11 +570,11 @@ ordinary magic autoload comment would copy the whole definition into
570@code{loaddefs.el}. That is not desirable. You can put the desired 570@code{loaddefs.el}. That is not desirable. You can put the desired
571@code{autoload} call into @code{loaddefs.el} instead by writing this: 571@code{autoload} call into @code{loaddefs.el} instead by writing this:
572 572
573@smallexample 573@example
574;;;###autoload (autoload 'foo "myfile") 574;;;###autoload (autoload 'foo "myfile")
575(mydefunmacro foo 575(mydefunmacro foo
576 ...) 576 ...)
577@end smallexample 577@end example
578 578
579 You can use a non-default string as the autoload cookie and have the 579 You can use a non-default string as the autoload cookie and have the
580corresponding autoload calls written into a file whose name is 580corresponding autoload calls written into a file whose name is
@@ -679,7 +679,7 @@ file should call @code{provide} at the top level to add the feature to
679 For example, in @file{idlwave.el}, the definition for 679 For example, in @file{idlwave.el}, the definition for
680@code{idlwave-complete-filename} includes the following code: 680@code{idlwave-complete-filename} includes the following code:
681 681
682@smallexample 682@example
683(defun idlwave-complete-filename () 683(defun idlwave-complete-filename ()
684 "Use the comint stuff to complete a file name." 684 "Use the comint stuff to complete a file name."
685 (require 'comint) 685 (require 'comint)
@@ -687,7 +687,7 @@ file should call @code{provide} at the top level to add the feature to
687 (comint-completion-addsuffix nil) 687 (comint-completion-addsuffix nil)
688 ...) 688 ...)
689 (comint-dynamic-complete-filename))) 689 (comint-dynamic-complete-filename)))
690@end smallexample 690@end example
691 691
692@noindent 692@noindent
693The expression @code{(require 'comint)} loads the file @file{comint.el} 693The expression @code{(require 'comint)} loads the file @file{comint.el}
@@ -702,9 +702,9 @@ after the let exits.)
702 702
703The @file{comint.el} file contains the following top-level expression: 703The @file{comint.el} file contains the following top-level expression:
704 704
705@smallexample 705@example
706(provide 'comint) 706(provide 'comint)
707@end smallexample 707@end example
708 708
709@noindent 709@noindent
710This adds @code{comint} to the global @code{features} list, so that 710This adds @code{comint} to the global @code{features} list, so that
@@ -725,13 +725,13 @@ ensure that a file of definitions is loaded before it is byte-compiled
725by including a @code{provide} followed by a @code{require} for the same 725by including a @code{provide} followed by a @code{require} for the same
726feature, as in the following example. 726feature, as in the following example.
727 727
728@smallexample 728@example
729@group 729@group
730(provide 'my-feature) ; @r{Ignored by byte compiler,} 730(provide 'my-feature) ; @r{Ignored by byte compiler,}
731 ; @r{evaluated by @code{load}.} 731 ; @r{evaluated by @code{load}.}
732(require 'my-feature) ; @r{Evaluated by byte compiler.} 732(require 'my-feature) ; @r{Evaluated by byte compiler.}
733@end group 733@end group
734@end smallexample 734@end example
735 735
736@noindent 736@noindent
737The compiler ignores the @code{provide}, then processes the 737The compiler ignores the @code{provide}, then processes the
@@ -761,7 +761,7 @@ package, which might or might not be loaded, or might or might not be
761present in a given version. @xref{Network Feature Testing}, for 761present in a given version. @xref{Network Feature Testing}, for
762an example. 762an example.
763 763
764@smallexample 764@example
765features 765features
766 @result{} (bar bish) 766 @result{} (bar bish)
767 767
@@ -769,7 +769,7 @@ features
769 @result{} foo 769 @result{} foo
770features 770features
771 @result{} (foo bar bish) 771 @result{} (foo bar bish)
772@end smallexample 772@end example
773 773
774When a file is loaded to satisfy an autoload, and it stops due to an 774When a file is loaded to satisfy an autoload, and it stops due to an
775error in the evaluation of its contents, any function definitions or 775error in the evaluation of its contents, any function definitions or
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi
index 3984e5c03aa..27361a5f07e 100644
--- a/doc/lispref/macros.texi
+++ b/doc/lispref/macros.texi
@@ -109,7 +109,7 @@ If @var{environment} is provided, it specifies an alist of macro
109definitions that shadow the currently defined macros. Byte compilation 109definitions that shadow the currently defined macros. Byte compilation
110uses this feature. 110uses this feature.
111 111
112@smallexample 112@example
113@group 113@group
114(defmacro inc (var) 114(defmacro inc (var)
115 (list 'setq var (list '1+ var))) 115 (list 'setq var (list '1+ var)))
@@ -131,7 +131,7 @@ uses this feature.
131(macroexpand '(inc2 r s)) 131(macroexpand '(inc2 r s))
132 @result{} (progn (inc r) (inc s)) ; @r{@code{inc} not expanded here.} 132 @result{} (progn (inc r) (inc s)) ; @r{@code{inc} not expanded here.}
133@end group 133@end group
134@end smallexample 134@end example
135@end defun 135@end defun
136 136
137 137
@@ -145,10 +145,10 @@ Repeating the example used for @code{macroexpand} above with
145@code{macroexpand-all}, we see that @code{macroexpand-all} @emph{does} 145@code{macroexpand-all}, we see that @code{macroexpand-all} @emph{does}
146expand the embedded calls to @code{inc}: 146expand the embedded calls to @code{inc}:
147 147
148@smallexample 148@example
149(macroexpand-all '(inc2 r s)) 149(macroexpand-all '(inc2 r s))
150 @result{} (progn (setq r (1+ r)) (setq s (1+ s))) 150 @result{} (progn (setq r (1+ r)) (setq s (1+ s)))
151@end smallexample 151@end example
152 152
153@end defun 153@end defun
154 154
@@ -332,7 +332,7 @@ following macro (used to facilitate iteration) illustrates the
332problem. This macro allows us to write a ``for'' loop construct. 332problem. This macro allows us to write a ``for'' loop construct.
333 333
334@findex for 334@findex for
335@smallexample 335@example
336@group 336@group
337(defmacro for (var from init to final do &rest body) 337(defmacro for (var from init to final do &rest body)
338 "Execute a simple \"for\" loop. 338 "Execute a simple \"for\" loop.
@@ -363,7 +363,7 @@ For example, (for i from 1 to 10 do (print i))."
363 @print{}3 9 363 @print{}3 9
364@result{} nil 364@result{} nil
365@end group 365@end group
366@end smallexample 366@end example
367 367
368@noindent 368@noindent
369The arguments @code{from}, @code{to}, and @code{do} in this macro are 369The arguments @code{from}, @code{to}, and @code{do} in this macro are
@@ -373,7 +373,7 @@ in those positions in the macro call.
373 373
374Here's an equivalent definition simplified through use of backquote: 374Here's an equivalent definition simplified through use of backquote:
375 375
376@smallexample 376@example
377@group 377@group
378(defmacro for (var from init to final do &rest body) 378(defmacro for (var from init to final do &rest body)
379 "Execute a simple \"for\" loop. 379 "Execute a simple \"for\" loop.
@@ -383,7 +383,7 @@ For example, (for i from 1 to 10 do (print i))."
383 ,@@body 383 ,@@body
384 (inc ,var)))) 384 (inc ,var))))
385@end group 385@end group
386@end smallexample 386@end example
387 387
388Both forms of this definition (with backquote and without) suffer from 388Both forms of this definition (with backquote and without) suffer from
389the defect that @var{final} is evaluated on every iteration. If 389the defect that @var{final} is evaluated on every iteration. If
@@ -398,7 +398,7 @@ producing an expansion that evaluates the argument expressions exactly
398once unless repeated evaluation is part of the intended purpose of the 398once unless repeated evaluation is part of the intended purpose of the
399macro. Here is a correct expansion for the @code{for} macro: 399macro. Here is a correct expansion for the @code{for} macro:
400 400
401@smallexample 401@example
402@group 402@group
403(let ((i 1) 403(let ((i 1)
404 (max 3)) 404 (max 3))
@@ -407,11 +407,11 @@ macro. Here is a correct expansion for the @code{for} macro:
407 (princ (format "%d %d" i square)) 407 (princ (format "%d %d" i square))
408 (inc i))) 408 (inc i)))
409@end group 409@end group
410@end smallexample 410@end example
411 411
412Here is a macro definition that creates this expansion: 412Here is a macro definition that creates this expansion:
413 413
414@smallexample 414@example
415@group 415@group
416(defmacro for (var from init to final do &rest body) 416(defmacro for (var from init to final do &rest body)
417 "Execute a simple for loop: (for i from 1 to 10 do (print i))." 417 "Execute a simple for loop: (for i from 1 to 10 do (print i))."
@@ -421,7 +421,7 @@ Here is a macro definition that creates this expansion:
421 ,@@body 421 ,@@body
422 (inc ,var)))) 422 (inc ,var))))
423@end group 423@end group
424@end smallexample 424@end example
425 425
426 Unfortunately, this fix introduces another problem, 426 Unfortunately, this fix introduces another problem,
427described in the following section. 427described in the following section.
@@ -434,7 +434,7 @@ described in the following section.
434follows to make the expansion evaluate the macro arguments the proper 434follows to make the expansion evaluate the macro arguments the proper
435number of times: 435number of times:
436 436
437@smallexample 437@example
438@group 438@group
439(defmacro for (var from init to final do &rest body) 439(defmacro for (var from init to final do &rest body)
440 "Execute a simple for loop: (for i from 1 to 10 do (print i))." 440 "Execute a simple for loop: (for i from 1 to 10 do (print i))."
@@ -446,14 +446,14 @@ number of times:
446 ,@@body 446 ,@@body
447 (inc ,var)))) 447 (inc ,var))))
448@end group 448@end group
449@end smallexample 449@end example
450@end ifnottex 450@end ifnottex
451 451
452 The new definition of @code{for} has a new problem: it introduces a 452 The new definition of @code{for} has a new problem: it introduces a
453local variable named @code{max} which the user does not expect. This 453local variable named @code{max} which the user does not expect. This
454causes trouble in examples such as the following: 454causes trouble in examples such as the following:
455 455
456@smallexample 456@example
457@group 457@group
458(let ((max 0)) 458(let ((max 0))
459 (for x from 0 to 10 do 459 (for x from 0 to 10 do
@@ -461,7 +461,7 @@ causes trouble in examples such as the following:
461 (if (< max this) 461 (if (< max this)
462 (setq max this))))) 462 (setq max this)))))
463@end group 463@end group
464@end smallexample 464@end example
465 465
466@noindent 466@noindent
467The references to @code{max} inside the body of the @code{for}, which 467The references to @code{max} inside the body of the @code{for}, which
@@ -477,7 +477,7 @@ put it into the program later. It will never appear anywhere except
477where put by @code{for}. Here is a definition of @code{for} that works 477where put by @code{for}. Here is a definition of @code{for} that works
478this way: 478this way:
479 479
480@smallexample 480@example
481@group 481@group
482(defmacro for (var from init to final do &rest body) 482(defmacro for (var from init to final do &rest body)
483 "Execute a simple for loop: (for i from 1 to 10 do (print i))." 483 "Execute a simple for loop: (for i from 1 to 10 do (print i))."
@@ -488,7 +488,7 @@ this way:
488 ,@@body 488 ,@@body
489 (inc ,var))))) 489 (inc ,var)))))
490@end group 490@end group
491@end smallexample 491@end example
492 492
493@noindent 493@noindent
494This creates an uninterned symbol named @code{max} and puts it in the 494This creates an uninterned symbol named @code{max} and puts it in the
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 8ce7e0d4686..99118af19c7 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -512,8 +512,7 @@ duplicates, and to add @var{newelt} to the list even if it is empty.
512If the value of this variable is @code{nil}, standard functions that 512If the value of this variable is @code{nil}, standard functions that
513read from the minibuffer don't add new elements to the history list. 513read from the minibuffer don't add new elements to the history list.
514This lets Lisp programs explicitly manage input history by using 514This lets Lisp programs explicitly manage input history by using
515@code{add-to-history}. By default, @code{history-add-new-input} is 515@code{add-to-history}. The default value is @code{t}.
516non-@code{nil}.
517@end defvar 516@end defvar
518 517
519@defopt history-length 518@defopt history-length
@@ -696,7 +695,7 @@ You can also use a function as @var{collection}. Then the function is
696solely responsible for performing completion; @code{try-completion} 695solely responsible for performing completion; @code{try-completion}
697returns whatever this function returns. The function is called with 696returns whatever this function returns. The function is called with
698three arguments: @var{string}, @var{predicate} and @code{nil} (the 697three arguments: @var{string}, @var{predicate} and @code{nil} (the
699reason for the third argument is so that the same function can be used 698third argument is so that the same function can be used
700in @code{all-completions} and do the appropriate thing in either 699in @code{all-completions} and do the appropriate thing in either
701case). @xref{Programmed Completion}. 700case). @xref{Programmed Completion}.
702 701
@@ -719,8 +718,8 @@ handle @code{completion-regexp-list} itself.)
719In the first of the following examples, the string @samp{foo} is 718In the first of the following examples, the string @samp{foo} is
720matched by three of the alist @sc{car}s. All of the matches begin with 719matched by three of the alist @sc{car}s. All of the matches begin with
721the characters @samp{fooba}, so that is the result. In the second 720the characters @samp{fooba}, so that is the result. In the second
722example, there is only one possible match, and it is exact, so the value 721example, there is only one possible match, and it is exact, so the
723is @code{t}. 722return value is @code{t}.
724 723
725@smallexample 724@smallexample
726@group 725@group
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 16cc5f946d0..1ccf525e75f 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -247,7 +247,7 @@ The length of the array is fixed once you create it; you cannot
247change the length of an existing array. 247change the length of an existing array.
248 248
249@item 249@item
250For purposes of evaluation, the array is a constant---in other words, 250For purposes of evaluation, the array is a constant---i.e.,
251it evaluates to itself. 251it evaluates to itself.
252 252
253@item 253@item
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi
index 66df1f34eda..acf5fae859e 100644
--- a/doc/lispref/streams.texi
+++ b/doc/lispref/streams.texi
@@ -812,7 +812,6 @@ reader to produce an uninterned symbol.
812If non-@code{nil}, that means number continuously across print calls. 812If non-@code{nil}, that means number continuously across print calls.
813This affects the numbers printed for @samp{#@var{n}=} labels and 813This affects the numbers printed for @samp{#@var{n}=} labels and
814@samp{#@var{m}#} references. 814@samp{#@var{m}#} references.
815
816Don't set this variable with @code{setq}; you should only bind it 815Don't set this variable with @code{setq}; you should only bind it
817temporarily to @code{t} with @code{let}. When you do that, you should 816temporarily to @code{t} with @code{let}. When you do that, you should
818also bind @code{print-number-table} to @code{nil}. 817also bind @code{print-number-table} to @code{nil}.
@@ -825,8 +824,8 @@ to bind it to @code{nil} when you bind @code{print-continuous-numbering}.
825@end defvar 824@end defvar
826 825
827@defvar float-output-format 826@defvar float-output-format
828This variable specifies how to print floating point numbers. Its 827This variable specifies how to print floating point numbers. The
829default value is @code{nil}, meaning use the shortest output 828default is @code{nil}, meaning use the shortest output
830that represents the number without losing information. 829that represents the number without losing information.
831 830
832To control output format more precisely, you can put a string in this 831To control output format more precisely, you can put a string in this
diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi
index 1e749b8c3bb..99928754038 100644
--- a/doc/lispref/symbols.texi
+++ b/doc/lispref/symbols.texi
@@ -90,7 +90,7 @@ the contents of a symbol's function cell, use the function
90@code{symbol-function} (@pxref{Function Cells}). 90@code{symbol-function} (@pxref{Function Cells}).
91 91
92 The property list cell normally should hold a correctly formatted 92 The property list cell normally should hold a correctly formatted
93property list. To get a symbol's function cell, use the function 93property list. To get a symbol's property list, use the function
94@code{symbol-plist}. @xref{Property Lists}. 94@code{symbol-plist}. @xref{Property Lists}.
95 95
96 The function cell or the value cell may be @dfn{void}, which means 96 The function cell or the value cell may be @dfn{void}, which means
@@ -310,7 +310,7 @@ The argument @var{name} may also be a symbol; in that case,
310the function returns @var{name} if @var{name} is interned 310the function returns @var{name} if @var{name} is interned
311in the specified obarray, and otherwise @code{nil}. 311in the specified obarray, and otherwise @code{nil}.
312 312
313@smallexample 313@example
314(intern-soft "frazzle") ; @r{No such symbol exists.} 314(intern-soft "frazzle") ; @r{No such symbol exists.}
315 @result{} nil 315 @result{} nil
316(make-symbol "frazzle") ; @r{Create an uninterned one.} 316(make-symbol "frazzle") ; @r{Create an uninterned one.}
@@ -331,7 +331,7 @@ in the specified obarray, and otherwise @code{nil}.
331(eq sym 'frazzle) ; @r{And it is the same one.} 331(eq sym 'frazzle) ; @r{And it is the same one.}
332 @result{} t 332 @result{} t
333@end group 333@end group
334@end smallexample 334@end example
335@end defun 335@end defun
336 336
337@defvar obarray 337@defvar obarray
@@ -346,7 +346,7 @@ This function calls @var{function} once with each symbol in the obarray
346omitted, it defaults to the value of @code{obarray}, the standard 346omitted, it defaults to the value of @code{obarray}, the standard
347obarray for ordinary symbols. 347obarray for ordinary symbols.
348 348
349@smallexample 349@example
350(setq count 0) 350(setq count 0)
351 @result{} 0 351 @result{} 0
352(defun count-syms (s) 352(defun count-syms (s)
@@ -356,7 +356,7 @@ obarray for ordinary symbols.
356 @result{} nil 356 @result{} nil
357count 357count
358 @result{} 1871 358 @result{} 1871
359@end smallexample 359@end example
360 360
361See @code{documentation} in @ref{Accessing Documentation}, for another 361See @code{documentation} in @ref{Accessing Documentation}, for another
362example using @code{mapatoms}. 362example using @code{mapatoms}.
@@ -462,12 +462,12 @@ This function sets @var{symbol}'s property list to @var{plist}.
462Normally, @var{plist} should be a well-formed property list, but this is 462Normally, @var{plist} should be a well-formed property list, but this is
463not enforced. The return value is @var{plist}. 463not enforced. The return value is @var{plist}.
464 464
465@smallexample 465@example
466(setplist 'foo '(a 1 b (2 3) c nil)) 466(setplist 'foo '(a 1 b (2 3) c nil))
467 @result{} (a 1 b (2 3) c nil) 467 @result{} (a 1 b (2 3) c nil)
468(symbol-plist 'foo) 468(symbol-plist 'foo)
469 @result{} (a 1 b (2 3) c nil) 469 @result{} (a 1 b (2 3) c nil)
470@end smallexample 470@end example
471 471
472For symbols in special obarrays, which are not used for ordinary 472For symbols in special obarrays, which are not used for ordinary
473purposes, it may make sense to use the property list cell in a 473purposes, it may make sense to use the property list cell in a
@@ -492,7 +492,7 @@ This function puts @var{value} onto @var{symbol}'s property list under
492the property name @var{property}, replacing any previous property value. 492the property name @var{property}, replacing any previous property value.
493The @code{put} function returns @var{value}. 493The @code{put} function returns @var{value}.
494 494
495@smallexample 495@example
496(put 'fly 'verb 'transitive) 496(put 'fly 'verb 'transitive)
497 @result{}'transitive 497 @result{}'transitive
498(put 'fly 'noun '(a buzzing little bug)) 498(put 'fly 'noun '(a buzzing little bug))
@@ -501,14 +501,14 @@ The @code{put} function returns @var{value}.
501 @result{} transitive 501 @result{} transitive
502(symbol-plist 'fly) 502(symbol-plist 'fly)
503 @result{} (verb transitive noun (a buzzing little bug)) 503 @result{} (verb transitive noun (a buzzing little bug))
504@end smallexample 504@end example
505@end defun 505@end defun
506 506
507@node Other Plists 507@node Other Plists
508@subsection Property Lists Outside Symbols 508@subsection Property Lists Outside Symbols
509 509
510 These functions are useful for manipulating property lists 510 These functions are useful for manipulating property lists
511that are stored in places other than symbols: 511not stored in symbols:
512 512
513@defun plist-get plist property 513@defun plist-get plist property
514This returns the value of the @var{property} property stored in the 514This returns the value of the @var{property} property stored in the
diff --git a/doc/lispref/two-volume.make b/doc/lispref/two-volume.make
index 4acbb193f82..07fcaf09b98 100644
--- a/doc/lispref/two-volume.make
+++ b/doc/lispref/two-volume.make
@@ -1,4 +1,4 @@
1# Copyright (C) 2007-2012 Free Software Foundation, Inc. 1# Copyright (C) 2007-2012 Free Software Foundation, Inc.
2# See end for copying conditions. 2# See end for copying conditions.
3 3
4# although it would be nice to use tex rather than pdftex to avoid 4# although it would be nice to use tex rather than pdftex to avoid
@@ -6,8 +6,9 @@
6# existing, etc., dvips | ps2pdf doesn't preserve the page size. 6# existing, etc., dvips | ps2pdf doesn't preserve the page size.
7# Instead of creating a special dvips config file, put up with the warnings. 7# Instead of creating a special dvips config file, put up with the warnings.
8texinfodir=../misc 8texinfodir=../misc
9emacsdir=../emacs
9 10
10tex = TEXINPUTS=".:$(texinfodir):${TEXINPUTS}" pdftex -interaction=nonstopmode 11tex = TEXINPUTS=".:$(texinfodir):${emacsdir}:${TEXINPUTS}" pdftex -interaction=nonstopmode
11 12
12all: vol1.pdf vol2.pdf 13all: vol1.pdf vol2.pdf
13 14