Mercurial > emacs
changeset 73597:4d65d5858190
* emacs-lisp-intro.texi: Remove version reference for X colors.
Document `='. Remove mention that :eval was new in 21. Updated
instance's edition-number to 3.01.
author | Robert J. Chassell <bob@rattlesnake.com> |
---|---|
date | Tue, 31 Oct 2006 18:07:16 +0000 |
parents | 9a0f2c872ea4 |
children | a2e7a4d48fea |
files | lispintro/ChangeLog lispintro/emacs-lisp-intro.texi |
diffstat | 2 files changed, 20 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/lispintro/ChangeLog Tue Oct 31 18:05:16 2006 +0000 +++ b/lispintro/ChangeLog Tue Oct 31 18:07:16 2006 +0000 @@ -7,7 +7,11 @@ now irrelevant. Updated Info file in ../info. Changed numbering so is now Revised Third Edition and this instance's edition-number is 3.00. Did not update ISBN number. - + + * emacs-lisp-intro.texi: Remove version reference for X colors. + Document `='. Remove mention that :eval was new in 21. Updated + instance's edition-number to 3.01. + 2006-10-30 Robert J. Chassell <bob@rattlesnake.com> * emacs-lisp-intro.texi: Many changes since it turned out that
--- a/lispintro/emacs-lisp-intro.texi Tue Oct 31 18:05:16 2006 +0000 +++ b/lispintro/emacs-lisp-intro.texi Tue Oct 31 18:07:16 2006 +0000 @@ -24,7 +24,7 @@ @comment %**end of header -@set edition-number 3.00 +@set edition-number 3.01 @set update-date 2006 Oct 31 @ignore @@ -731,7 +731,7 @@ * Loading Files:: Load (i.e., evaluate) files automatically. * Autoload:: Make functions available. * Simple Extension:: Define a function; bind it to a key. -* X11 Colors:: Colors in version 19 in X. +* X11 Colors:: Colors in X. * Miscellaneous:: * Mode Line:: How to customize your mode line. @@ -4526,6 +4526,10 @@ the second. In all cases, both arguments must be numbers or markers (markers indicate positions in buffers). +@item = +The @code{=} function tests whether two arguments, , both numbers or +markers, are equal. + @item string< @itemx string-lessp @itemx string= @@ -15730,15 +15734,6 @@ @end group @end smallexample -@ignore -(directory-files-and-attributes "/usr/local/src/emacs/lisp/mail/") --> -(("." t 3 1000 100 (17733 1296) (17718 8756) (17718 8756) 4096 "drwxr-xr-x" nil 1273504 773)) - -(directory-files-and-attributes "/usr/local/src/emacs/lisp/") --> -(... ("mail" t 3 1000 100 (17733 1296) (17718 8756) (17718 8756) 4096 -"drwxr-xr-x" nil 1273504 773) ...) -@end ignore - @need 1200 On the other hand, @file{mail/} is a directory within the @file{lisp/} directory. The beginning of its listing looks like this: @@ -17172,8 +17167,8 @@ I myself use @code{customize} for hardly anything. Mostly, I write expressions myself. -@findex defsubst -@findex defconst +@findex defsubst +@findex defconst Incidentally, @code{defsubst} defines an inline function. The syntax is just like that of @code{defun}. @code{defconst} defines a symbol as a constant. The intent is that neither programs nor users should @@ -18308,13 +18303,12 @@ characters; this length works well in a typical 80 column wide window.) -@code{:eval} was a new feature in GNU Emacs version 21. It says to -evaluate the following form and use the result as a string to display. -In this case, the expression displays the first component of the full -system name. The end of the first component is a @samp{.} (`period'), -so I use the @code{string-match} function to tell me the length of the -first component. The substring from the zeroth character to that -length is the name of the machine. +@code{:eval} says to evaluate the following form and use the result as +a string to display. In this case, the expression displays the first +component of the full system name. The end of the first component is +a @samp{.} (`period'), so I use the @code{string-match} function to +tell me the length of the first component. The substring from the +zeroth character to that length is the name of the machine. @need 1250 This is the expression: @@ -19491,7 +19485,7 @@ Incidentally, both @code{kill-ring} and @code{kill-ring-yank-pointer} are @dfn{global variables}. That means that any expression in Emacs Lisp can access them. They are not like the local variables set by -@code{let} or like the symbols in an argument list. +@code{let} or like the symbols in an argument list. Local variables can only be accessed within the @code{let} that defines them or the function that specifies them in an argument list (and within expressions called by them).