aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorMelissa Weisshaus1995-06-16 19:17:59 +0000
committerMelissa Weisshaus1995-06-16 19:17:59 +0000
commitbda144f49f2ba0f467054530a21e39ec7b7575fa (patch)
treed9656e42c1146edc1ebab8152375ee8772b44944 /lispref
parentb7011339a202da06ec2ba58b11618692ea8f0326 (diff)
downloademacs-bda144f49f2ba0f467054530a21e39ec7b7575fa.tar.gz
emacs-bda144f49f2ba0f467054530a21e39ec7b7575fa.zip
updates for version 19.29 made by melissa; also needed to check out files
so two-volume formatting could be accomplished.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/commands.texi2
-rw-r--r--lispref/intro.texi6
-rw-r--r--lispref/lists.texi1
-rw-r--r--lispref/loading.texi11
-rw-r--r--lispref/numbers.texi12
-rw-r--r--lispref/objects.texi1
-rw-r--r--lispref/os.texi6
-rw-r--r--lispref/searching.texi6
-rw-r--r--lispref/strings.texi1
-rw-r--r--lispref/symbols.texi6
-rw-r--r--lispref/text.texi4
-rw-r--r--lispref/windows.texi2
12 files changed, 48 insertions, 10 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index c03e9169ad6..a8bfe36eb3f 100644
--- a/lispref/commands.texi
+++ b/lispref/commands.texi
@@ -1276,7 +1276,7 @@ The standard definition of the @code{delete-frame} event is to delete @var{frame
1276@item (iconify-frame (@var{frame})) 1276@item (iconify-frame (@var{frame}))
1277This kind of event indicates that the user iconified @var{frame} using 1277This kind of event indicates that the user iconified @var{frame} using
1278the window manager. Its standard definition is @code{ignore}; since 1278the window manager. Its standard definition is @code{ignore}; since
1279the frame has already been iconified, Emacs has no work to do. 1279the frame has already been deiconified, Emacs has no work to do.
1280The purpose of this event type is so that you can keep track of such 1280The purpose of this event type is so that you can keep track of such
1281events if you want to. 1281events if you want to.
1282 1282
diff --git a/lispref/intro.texi b/lispref/intro.texi
index b671c89c8f1..def0d1c84bc 100644
--- a/lispref/intro.texi
+++ b/lispref/intro.texi
@@ -11,7 +11,7 @@
11 11
12@display 12@display
13Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc. 13Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
1459 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14675 Mass Ave, Cambridge, MA 02139, USA
15 15
16Everyone is permitted to copy and distribute verbatim copies 16Everyone is permitted to copy and distribute verbatim copies
17of this license document, but changing it is not allowed. 17of this license document, but changing it is not allowed.
@@ -357,7 +357,7 @@ GNU General Public License for more details.
357 357
358You should have received a copy of the GNU General Public License 358You should have received a copy of the GNU General Public License
359along with this program; if not, write to the Free Software 359along with this program; if not, write to the Free Software
360Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 360Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
361@end smallexample 361@end smallexample
362 362
363Also add information on how to contact you by electronic and paper mail. 363Also add information on how to contact you by electronic and paper mail.
@@ -425,7 +425,7 @@ describe features of Emacs Lisp that have counterparts in many
425programming languages, and later chapters describe features that are 425programming languages, and later chapters describe features that are
426peculiar to Emacs Lisp or relate specifically to editing. 426peculiar to Emacs Lisp or relate specifically to editing.
427 427
428 This is edition 2.3. 428 This is edition 2.4.
429 429
430@menu 430@menu
431* Caveats:: Flaws and a request for help. 431* Caveats:: Flaws and a request for help.
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 6bb33b80126..e1b2bcbb2fd 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -756,6 +756,7 @@ x1
756@end group 756@end group
757@end example 757@end example
758 758
759@need 4000
759 Here is the result in box notation: 760 Here is the result in box notation:
760 761
761@example 762@example
diff --git a/lispref/loading.texi b/lispref/loading.texi
index 2694dc44a19..4aec67475d6 100644
--- a/lispref/loading.texi
+++ b/lispref/loading.texi
@@ -157,11 +157,13 @@ Here is an example of code you can place in a @file{.emacs} file to add
157several directories to the front of your default @code{load-path}: 157several directories to the front of your default @code{load-path}:
158 158
159@smallexample 159@smallexample
160@group
160(setq load-path 161(setq load-path
161 (append (list nil "/user/bil/emacs" 162 (append (list nil "/user/bil/emacs"
162 "/usr/local/lisplib" 163 "/usr/local/lisplib"
163 (expand-file-name "~/emacs")) 164 (expand-file-name "~/emacs"))
164 load-path)) 165 load-path))
166@end group
165@end smallexample 167@end smallexample
166 168
167@c Wordy to rid us of an overfull hbox. --rjc 15mar92 169@c Wordy to rid us of an overfull hbox. --rjc 15mar92
@@ -251,6 +253,13 @@ Specify @var{type} as @code{keymap} if @var{function} is really a
251keymap. Various parts of Emacs need to know this information without 253keymap. Various parts of Emacs need to know this information without
252loading the real definition. 254loading the real definition.
253 255
256An autoloaded keymap loads automatically during key lookup when a prefix
257key's binding is the symbol @var{function}. Autoloading does not occur
258for other kinds of access to the keymap. In particular, it does not
259happen when a Lisp program gets the keymap from the value of a variable
260and calls @code{define-key}; not even if the variable name is the same
261symbol @var{function}.
262
254@cindex function cell in autoload 263@cindex function cell in autoload
255If @var{function} already has a non-void function definition that is not 264If @var{function} already has a non-void function definition that is not
256an autoload object, @code{autoload} does nothing and returns @code{nil}. 265an autoload object, @code{autoload} does nothing and returns @code{nil}.
@@ -264,8 +273,10 @@ object, then it is defined as an autoload object like this:
264For example, 273For example,
265 274
266@example 275@example
276@group
267(symbol-function 'run-prolog) 277(symbol-function 'run-prolog)
268 @result{} (autoload "prolog" 169681 t nil) 278 @result{} (autoload "prolog" 169681 t nil)
279@end group
269@end example 280@end example
270 281
271@noindent 282@noindent
diff --git a/lispref/numbers.texi b/lispref/numbers.texi
index 7b6ef868142..e2077955df5 100644
--- a/lispref/numbers.texi
+++ b/lispref/numbers.texi
@@ -478,8 +478,10 @@ If you divide by 0, an @code{arith-error} error is signaled.
478(@xref{Errors}.) 478(@xref{Errors}.)
479 479
480@example 480@example
481@group
481(/ 6 2) 482(/ 6 2)
482 @result{} 3 483 @result{} 3
484@end group
483(/ 5 2) 485(/ 5 2)
484 @result{} 2 486 @result{} 2
485(/ 25 3 2) 487(/ 25 3 2)
@@ -541,16 +543,26 @@ quotient to compute the remainder.
541An @code{arith-error} results if @var{divisor} is 0. 543An @code{arith-error} results if @var{divisor} is 0.
542 544
543@example 545@example
546@group
544(mod 9 4) 547(mod 9 4)
545 @result{} 1 548 @result{} 1
549@end group
550@group
546(mod -9 4) 551(mod -9 4)
547 @result{} 3 552 @result{} 3
553@end group
554@group
548(mod 9 -4) 555(mod 9 -4)
549 @result{} -3 556 @result{} -3
557@end group
558@group
550(mod -9 -4) 559(mod -9 -4)
551 @result{} -1 560 @result{} -1
561@end group
562@group
552(mod 5.5 2.5) 563(mod 5.5 2.5)
553 @result{} .5 564 @result{} .5
565@end group
554@end example 566@end example
555 567
556For any two numbers @var{dividend} and @var{divisor}, 568For any two numbers @var{dividend} and @var{divisor},
diff --git a/lispref/objects.texi b/lispref/objects.texi
index 4952f07514e..dd7a7bb77fe 100644
--- a/lispref/objects.texi
+++ b/lispref/objects.texi
@@ -1311,6 +1311,7 @@ a list and @code{symbolp} to check for a symbol.
1311 ((listp x) 1311 ((listp x)
1312 ;; If X is a list, add its elements to LIST. 1312 ;; If X is a list, add its elements to LIST.
1313 (setq list (append x list))) 1313 (setq list (append x list)))
1314@need 3000
1314 (t 1315 (t
1315 ;; We only handle symbols and lists. 1316 ;; We only handle symbols and lists.
1316 (error "Invalid argument %s in add-on" x)))) 1317 (error "Invalid argument %s in add-on" x))))
diff --git a/lispref/os.texi b/lispref/os.texi
index a21107bf4fe..0dbb243d7e6 100644
--- a/lispref/os.texi
+++ b/lispref/os.texi
@@ -1027,7 +1027,7 @@ items of calendrical data into a time value. For the meanings of the
1027arguments, see the table above under @code{decode-time}. 1027arguments, see the table above under @code{decode-time}.
1028 1028
1029Year numbers less than 100 are treated just like other year numbers. If 1029Year numbers less than 100 are treated just like other year numbers. If
1030you them to stand for years above 1900, you must alter them yourself 1030you want them to stand for years above 1900, you must alter them yourself
1031before you call @code{encode-time}. 1031before you call @code{encode-time}.
1032 1032
1033The optional argument @var{zone} defaults to the current time zone and 1033The optional argument @var{zone} defaults to the current time zone and
@@ -1321,6 +1321,7 @@ the event that follows. For example, here's how to define @kbd{C-c h}
1321to turn the character that follows into a Hyper character: 1321to turn the character that follows into a Hyper character:
1322 1322
1323@example 1323@example
1324@group
1324(defun hyperify (prompt) 1325(defun hyperify (prompt)
1325 (let ((e (read-event))) 1326 (let ((e (read-event)))
1326 (vector (if (numberp e) 1327 (vector (if (numberp e)
@@ -1333,11 +1334,14 @@ to turn the character that follows into a Hyper character:
1333 (let ((symbol (if (symbolp e) e (car e)))) 1334 (let ((symbol (if (symbolp e) e (car e))))
1334 (setq symbol (intern (concat string 1335 (setq symbol (intern (concat string
1335 (symbol-name symbol)))) 1336 (symbol-name symbol))))
1337@end group
1338@group
1336 (if (symbolp e) 1339 (if (symbolp e)
1337 symbol 1340 symbol
1338 (cons symbol (cdr e))))) 1341 (cons symbol (cdr e)))))
1339 1342
1340(define-key function-key-map "\C-ch" 'hyperify) 1343(define-key function-key-map "\C-ch" 'hyperify)
1344@end group
1341@end example 1345@end example
1342 1346
1343@pindex iso-transl 1347@pindex iso-transl
diff --git a/lispref/searching.texi b/lispref/searching.texi
index 40cc3eb6cbd..073c1ae212a 100644
--- a/lispref/searching.texi
+++ b/lispref/searching.texi
@@ -850,9 +850,9 @@ The argument @var{replacements} specifies what to replace occurrences
850with. If it is a string, that string is used. It can also be a list of 850with. If it is a string, that string is used. It can also be a list of
851strings, to be used in cyclic order. 851strings, to be used in cyclic order.
852 852
853If @var{repeat-count} is non-@code{nil}, it should be an integer, the 853If @var{repeat-count} is non-@code{nil}, it should be an integer. Then
854number of occurrences to consider. In this case, @code{perform-replace} 854it specifies how many times to use each of the strings in the
855returns after considering that many occurrences. 855@var{replacements} list before advancing cyclicly to the next one.
856 856
857Normally, the keymap @code{query-replace-map} defines the possible user 857Normally, the keymap @code{query-replace-map} defines the possible user
858responses for queries. The argument @var{map}, if non-@code{nil}, is a 858responses for queries. The argument @var{map}, if non-@code{nil}, is a
diff --git a/lispref/strings.texi b/lispref/strings.texi
index d923d0407cd..f53c1c305eb 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -251,6 +251,7 @@ description of @code{mapconcat} in @ref{Mapping Functions},
251Lists}. 251Lists}.
252@end defun 252@end defun
253 253
254@need 2000
254@node Text Comparison 255@node Text Comparison
255@section Comparison of Characters and Strings 256@section Comparison of Characters and Strings
256@cindex string equality 257@cindex string equality
diff --git a/lispref/symbols.texi b/lispref/symbols.texi
index cbe1deea747..9c20df9c4ae 100644
--- a/lispref/symbols.texi
+++ b/lispref/symbols.texi
@@ -311,12 +311,18 @@ value of the global variable @code{obarray} is used.
311 @result{} nil 311 @result{} nil
312(make-symbol "frazzle") ; @r{Create an uninterned one.} 312(make-symbol "frazzle") ; @r{Create an uninterned one.}
313 @result{} frazzle 313 @result{} frazzle
314@group
314(intern-soft "frazzle") ; @r{That one cannot be found.} 315(intern-soft "frazzle") ; @r{That one cannot be found.}
315 @result{} nil 316 @result{} nil
317@end group
318@group
316(setq sym (intern "frazzle")) ; @r{Create an interned one.} 319(setq sym (intern "frazzle")) ; @r{Create an interned one.}
317 @result{} frazzle 320 @result{} frazzle
321@end group
322@group
318(intern-soft "frazzle") ; @r{That one can be found!} 323(intern-soft "frazzle") ; @r{That one can be found!}
319 @result{} frazzle 324 @result{} frazzle
325@end group
320@group 326@group
321(eq sym 'frazzle) ; @r{And it is the same one.} 327(eq sym 'frazzle) ; @r{And it is the same one.}
322 @result{} t 328 @result{} t
diff --git a/lispref/text.texi b/lispref/text.texi
index b4547224308..6b165e18287 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -1089,7 +1089,7 @@ change group at which this size is exceeded is the last one kept.
1089This is the upper limit for the acceptable size of an undo list. The 1089This is the upper limit for the acceptable size of an undo list. The
1090change group at which this size is exceeded is discarded itself (along 1090change group at which this size is exceeded is discarded itself (along
1091with all older change groups). There is one exception: the very latest 1091with all older change groups). There is one exception: the very latest
1092change group is never discarded separate no matter how big it is. 1092change group is never discarded no matter how big it is.
1093@end defvar 1093@end defvar
1094 1094
1095@node Filling 1095@node Filling
@@ -1335,7 +1335,7 @@ becomes buffer-local when set in any fashion.
1335@cindex Auto Fill mode 1335@cindex Auto Fill mode
1336 1336
1337 Auto Fill mode is a minor mode that fills lines automatically as text 1337 Auto Fill mode is a minor mode that fills lines automatically as text
1338as inserted. This section describes the hook used by Auto Fill mode. 1338is inserted. This section describes the hook used by Auto Fill mode.
1339For a description of functions that you can call explicitly to fill and 1339For a description of functions that you can call explicitly to fill and
1340justify existing text, see @ref{Filling}. 1340justify existing text, see @ref{Filling}.
1341 1341
diff --git a/lispref/windows.texi b/lispref/windows.texi
index fb73cd865fd..27925e9be8c 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -224,6 +224,7 @@ Next, the top window is split horizontally:
224@end group 224@end group
225@end smallexample 225@end smallexample
226 226
227@need 3000
227Now, the screen looks like this: 228Now, the screen looks like this:
228 229
229@smallexample 230@smallexample
@@ -1611,6 +1612,7 @@ If you omit @var{frame}, the selected frame is used.
1611This function checks whether a particular frame position falls within 1612This function checks whether a particular frame position falls within
1612the window @var{window}. 1613the window @var{window}.
1613 1614
1615@need 3000
1614The argument @var{coordinates} is a cons cell of this form: 1616The argument @var{coordinates} is a cons cell of this form:
1615 1617
1616@example 1618@example