aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorStefan Monnier2018-01-15 13:42:51 -0500
committerStefan Monnier2018-01-15 13:42:51 -0500
commit72ee93d68daea00e2ee69417afd4e31b3145a9fa (patch)
treef485b3e50d189e10384903641accf0933102640a /doc/lispref
parent8e05cb61a247a9035c5bf33b55c933d48c964dbc (diff)
downloademacs-72ee93d68daea00e2ee69417afd4e31b3145a9fa.tar.gz
emacs-72ee93d68daea00e2ee69417afd4e31b3145a9fa.zip
* src/print.c (syms_of_print) <print_quoted>: Set default to true
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/buffers.texi2
-rw-r--r--doc/lispref/debugging.texi4
-rw-r--r--doc/lispref/eval.texi6
-rw-r--r--doc/lispref/lists.texi4
-rw-r--r--doc/lispref/loading.texi2
-rw-r--r--doc/lispref/sequences.texi8
6 files changed, 13 insertions, 13 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi
index 3f43b1bb3b7..7e41eb32cce 100644
--- a/doc/lispref/buffers.texi
+++ b/doc/lispref/buffers.texi
@@ -815,7 +815,7 @@ regardless of which frames they were displayed on.
815@group 815@group
816;; @r{Note that the name of the minibuffer} 816;; @r{Note that the name of the minibuffer}
817;; @r{begins with a space!} 817;; @r{begins with a space!}
818(mapcar (function buffer-name) (buffer-list)) 818(mapcar #'buffer-name (buffer-list))
819 @result{} ("buffers.texi" " *Minibuf-1*" 819 @result{} ("buffers.texi" " *Minibuf-1*"
820 "buffer.c" "*Help*" "TAGS") 820 "buffer.c" "*Help*" "TAGS")
821@end group 821@end group
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index cb6f6e96b02..f937184e73a 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -646,7 +646,7 @@ forms are elided.
646 (list ...computing arguments...) 646 (list ...computing arguments...)
647@end group 647@end group
648 (progn ...) 648 (progn ...)
649 eval((progn (1+ var) (list (quote testing) (backtrace)))) 649 eval((progn (1+ var) (list 'testing (backtrace))))
650 (setq ...) 650 (setq ...)
651 (save-excursion ...) 651 (save-excursion ...)
652 (let ...) 652 (let ...)
@@ -677,7 +677,7 @@ example would look as follows:
677 (list ...computing arguments...) 677 (list ...computing arguments...)
678@end group 678@end group
679 (progn ...) 679 (progn ...)
680 (eval (progn (1+ var) (list (quote testing) (backtrace)))) 680 (eval (progn (1+ var) (list 'testing (backtrace))))
681 (setq ...) 681 (setq ...)
682 (save-excursion ...) 682 (save-excursion ...)
683 (let ...) 683 (let ...)
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index b5d19f20c2d..4e8b0df7b58 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -580,15 +580,15 @@ Here are some examples of expressions that use @code{quote}:
580@end group 580@end group
581@group 581@group
582''foo 582''foo
583 @result{} (quote foo) 583 @result{} 'foo
584@end group 584@end group
585@group 585@group
586'(quote foo) 586'(quote foo)
587 @result{} (quote foo) 587 @result{} 'foo
588@end group 588@end group
589@group 589@group
590['foo] 590['foo]
591 @result{} [(quote foo)] 591 @result{} ['foo]
592@end group 592@end group
593@end example 593@end example
594 594
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index 431f5fbbab2..3e2dd13c706 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -1141,7 +1141,7 @@ each time you run it! Here is what happens:
1141 1141
1142@group 1142@group
1143(symbol-function 'add-foo) 1143(symbol-function 'add-foo)
1144 @result{} (lambda (x) (nconc (quote (foo)) x)) 1144 @result{} (lambda (x) (nconc '(foo) x))
1145@end group 1145@end group
1146 1146
1147@group 1147@group
@@ -1159,7 +1159,7 @@ each time you run it! Here is what happens:
1159 1159
1160@group 1160@group
1161(symbol-function 'add-foo) 1161(symbol-function 'add-foo)
1162 @result{} (lambda (x) (nconc (quote (foo 1 2 3 4) x))) 1162 @result{} (lambda (x) (nconc '(foo 1 2 3 4) x))
1163@end group 1163@end group
1164@end smallexample 1164@end smallexample
1165@end defun 1165@end defun
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 92b7e864ab5..0165d114a75 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -641,7 +641,7 @@ autoloading with a magic comment:
641Here's what that produces in @file{loaddefs.el}: 641Here's what that produces in @file{loaddefs.el}:
642 642
643@example 643@example
644(autoload (quote doctor) "doctor" "\ 644(autoload 'doctor "doctor" "\
645Switch to *doctor* buffer and start giving psychotherapy. 645Switch to *doctor* buffer and start giving psychotherapy.
646 646
647\(fn)" t nil) 647\(fn)" t nil)
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 3a599e5f535..80079bcfb00 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -1298,9 +1298,9 @@ not evaluate or even examine the elements of the vector.
1298@example 1298@example
1299@group 1299@group
1300(setq avector [1 two '(three) "four" [five]]) 1300(setq avector [1 two '(three) "four" [five]])
1301 @result{} [1 two (quote (three)) "four" [five]] 1301 @result{} [1 two '(three) "four" [five]]
1302(eval avector) 1302(eval avector)
1303 @result{} [1 two (quote (three)) "four" [five]] 1303 @result{} [1 two '(three) "four" [five]]
1304(eq avector (eval avector)) 1304(eq avector (eval avector))
1305 @result{} t 1305 @result{} t
1306@end group 1306@end group
@@ -1390,9 +1390,9 @@ list with the same elements:
1390@example 1390@example
1391@group 1391@group
1392(setq avector [1 two (quote (three)) "four" [five]]) 1392(setq avector [1 two (quote (three)) "four" [five]])
1393 @result{} [1 two (quote (three)) "four" [five]] 1393 @result{} [1 two '(three) "four" [five]]
1394(append avector nil) 1394(append avector nil)
1395 @result{} (1 two (quote (three)) "four" [five]) 1395 @result{} (1 two '(three) "four" [five])
1396@end group 1396@end group
1397@end example 1397@end example
1398 1398