summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-30 19:32:53 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-30 19:32:53 +0000
commit598216d9d71785f4ae4d62cc777a42d50ec57f17 (patch)
tree1e8f8b77a01b5156e2948feda43f94e529421627 /lispref
parent1a43aeaedb064321f7c156b86f498519f0bc62bc (diff)
downloademacs-598216d9d71785f4ae4d62cc777a42d50ec57f17.tar.gz
entered into RCS
Diffstat (limited to 'lispref')
-rw-r--r--lispref/tips.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/lispref/tips.texi b/lispref/tips.texi
index dbb04e071d1..482a21afd23 100644
--- a/lispref/tips.texi
+++ b/lispref/tips.texi
@@ -163,6 +163,15 @@ of the other features intended for interactive users, you can replace
these functions with one or two lines of simple Lisp code.
@item
+Use lists rather than vectors, except when there is a particular reason
+to use a vector. Lisp has more facilities for manipulating lists than
+for vectors, and working with lists is usually more convenient.
+
+Vectors are advantageous for tables that are substantial in size and are
+accessed in random order (not searched front to back), provided there is
+no need to insert or delete elements (only lists allow that).
+
+@item
The recommended way to print a message in the echo area is with
the @code{message} function, not @code{princ}. @xref{The Echo Area}.