diff options
| author | Richard M. Stallman | 1994-08-30 19:32:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-30 19:32:53 +0000 |
| commit | 1c2b5877c7d815978bfc22c30331a06e7a57658e (patch) | |
| tree | 6b5644ece9e9f0677b9d692e31af8e22dc8abecc | |
| parent | 598fb6feed8fe59b52585ca39aaa6eaa602881e4 (diff) | |
| download | emacs-1c2b5877c7d815978bfc22c30331a06e7a57658e.tar.gz emacs-1c2b5877c7d815978bfc22c30331a06e7a57658e.zip | |
entered into RCS
| -rw-r--r-- | lispref/tips.texi | 9 |
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 | |||
| 163 | these functions with one or two lines of simple Lisp code. | 163 | these functions with one or two lines of simple Lisp code. |
| 164 | 164 | ||
| 165 | @item | 165 | @item |
| 166 | Use lists rather than vectors, except when there is a particular reason | ||
| 167 | to use a vector. Lisp has more facilities for manipulating lists than | ||
| 168 | for vectors, and working with lists is usually more convenient. | ||
| 169 | |||
| 170 | Vectors are advantageous for tables that are substantial in size and are | ||
| 171 | accessed in random order (not searched front to back), provided there is | ||
| 172 | no need to insert or delete elements (only lists allow that). | ||
| 173 | |||
| 174 | @item | ||
| 166 | The recommended way to print a message in the echo area is with | 175 | The recommended way to print a message in the echo area is with |
| 167 | the @code{message} function, not @code{princ}. @xref{The Echo Area}. | 176 | the @code{message} function, not @code{princ}. @xref{The Echo Area}. |
| 168 | 177 | ||