1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00
Commit graph

93 commits

Author SHA1 Message Date
Stefan Monnier
0a6313f7e3 * doc/misc/cl.texi (Obsolete Macros): Describe replacements for `flet'.
Fixes: debbugs:14293
2013-05-04 15:49:23 -04:00
Glenn Morris
1dfcc79e83 Make cl-floatp-safe just an alias for floatp
* lisp/emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.

* lisp/emacs-lisp/cl-macs.el (cl--make-type-test)
(cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.

* doc/misc/cl.texi: Remove commented out sections about cl-floatp-safe.
2013-02-19 21:07:07 -05:00
Glenn Morris
01fcc3a532 Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org 2013-02-12 20:31:09 -08:00
Paul Eggert
65e7ca35a6 In doc, use standard American English style for e.g., etc., i.e. 2013-02-12 09:36:54 -08:00
Glenn Morris
8c4b24b2ab Merge from emacs-24; up to 2012-12-14T15:22:24Z!monnier@iro.umontreal.ca 2013-02-06 22:23:54 -08:00
Glenn Morris
1e934b8484 * doc/misc/cl.texi (Equality Predicates): Mention memql. 2013-02-05 20:36:44 -08:00
Glenn Morris
72ff76bbc2 * doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry. 2013-02-03 11:40:00 -08:00
Paul Eggert
0877d0dc24 Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Glenn Morris
00afe3a454 Merge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.org 2012-12-22 11:09:52 -08:00
Paul Eggert
f99f164170 Hyphen and dash fixes in texinfo files. 2012-12-22 08:25:40 -08:00
Glenn Morris
a4b0cca119 Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org 2012-12-21 11:32:43 -08:00
Glenn Morris
6bf430d146 Don't say "buying copies from the FSF" for manuals they do not publish
Ref "License Notices for Documentation" in maintain.info
2012-12-21 10:36:41 -08:00
Glenn Morris
ba30c70fa0 * doc/misc/cl.texi (Modify Macros, Obsolete Macros): Now letf == cl-letf.
* etc/NEWS: Related edit.
2012-12-12 21:33:36 -08:00
Paul Eggert
1df7defd80 Fix minor whitespace issues after "." in manual.
Be more systematic about using "@." (not ".") at end of sentence that
ends in a capital letter, and about appending "@:" after non-ends of
sentences that end in a lower case letter followed by "." followed by
whitespace.  Omit unnecessary use of "@:" and "@.".  Similarly for "?"
and "!".  Be more consistent about putting a comma after "i.e." and
"e.g."; this is the typical American style and it's easier to code in
Texinfo.

Fixes: debbugs:12973
2012-12-05 14:27:56 -08:00
Glenn Morris
e8693c969a cl.texi flet clarification
* doc/misc/cl.texi (Function Bindings): Clarify that cl-flet is lexical.
(Obsolete Macros): Move example here from Function Bindings.

* etc/NEWS: Related edit.
2012-11-15 23:43:24 -08:00
Glenn Morris
bdd8064f8e * cl.texi (Obsolete Setf Customization): Updates for define-setf-method.
* etc/NEWS: Related markup.
2012-11-07 17:23:34 -05:00
Glenn Morris
031b2ea7f5 More cl-lib and gv doc updates
* lisp/emacs-lisp/cl.el (define-setf-expander, defsetf)
(define-modify-macro): Doc fixes.

* doc/misc/cl.texi (Obsolete Setf Customization):
Give defsetf gv.el replacements.

* etc/NEWS: Related edit.
2012-11-07 00:56:16 -08:00
Glenn Morris
940eac6d18 * cl.texi (Obsolete Setf Customization): Give define-modify-macro replacement. 2012-11-07 00:28:34 -08:00
Glenn Morris
2ee1d59f5b Small doc updates for generalized variables
* lisp/emacs-lisp/gv.el (gv-letplace): Fix doc typo.
(gv-define-simple-setter): Update doc of `fix-return'.

* doc/lispref/variables.texi (Adding Generalized Variables):
Update description of FIX-RETURN expansion.

* doc/misc/cl.texi (Obsolete Setf Customization):
Revert defsetf example to the more correct let rather than prog1.
2012-11-06 20:37:07 -08:00
Glenn Morris
a358a44ec4 More small cl.texi updates
* doc/misc/cl.texi (Setf Extensions): Remove obsolete reference.
(Obsolete Setf Customization):
Mention simple defsetf replaced by gv-define-simple-setter.
2012-11-05 21:49:57 -05:00
Glenn Morris
9c9e806ca0 Removed some doubly-deleted, commented out stuff from cl.texi 2012-11-05 21:30:16 -05:00
Glenn Morris
2027b1b30a * doc/misc/cl.texi (Overview): Mention EIEIO here, as well as the appendix. 2012-11-05 21:28:48 -05:00
Glenn Morris
ab7f1c43dc Undocument get-setf-method, no longer exists
* doc/misc/cl.texi (Obsolete Setf Customization):
Undocument get-setf-method, since it no longer exists.

* etc/NEWS: Mention this.
2012-11-05 21:22:07 -05:00
Glenn Morris
651af8c631 Move note on lack of setf functions from cl.texi to lispref
* doc/lispref/variables.texi (Adding Generalized Variables):
Move note on lack of setf functions to here...

* doc/misc/cl.texi (Obsolete Setf Customization): ... from here.
2012-11-05 21:03:34 -05:00
Glenn Morris
92246540b0 Further small cl.texi changes
* doc/misc/cl.texi (Creating Symbols, Random Numbers):
De-emphasize internal variables cl--gensym-counter and cl--random-state. 

* etc/NEWS: Related edits.

Fixes: debbugs:12788
2012-11-03 11:55:29 -07:00
Glenn Morris
3a4d19175a More general edits for cl.texi Appendices 2012-11-03 11:23:38 -07:00
Glenn Morris
685b00269d Further edits for doc/misc/cl.texi
* cl.texi: Further general copyedits.
(List Functions): Remove copy-tree, standard elisp for some time.
(Efficiency Concerns): Comment out examples that no longer apply.
(Compiler Optimizations): Rename from "Optimizing Compiler"; reword.
2012-11-03 10:56:30 -07:00
Glenn Morris
c65b407b40 * doc/misc/cl.texi: Further general copyedits.
Eg, no longer distinguish between "the optimizing compiler" and "the
non-optimizing compiler" like they were different entities.
2012-11-02 21:19:40 -04:00
Glenn Morris
7fbf8f7bd9 Undocument cl-floatp-safe, since it is no longer relevant
* doc/misc/cl.texi (Naming Conventions, Type Predicates, Macros)
(Predicates on Numbers): No longer mention cl-floatp-safe.
2012-11-02 18:29:56 -04:00
Glenn Morris
9f2881afe2 More edits for cl.texi
* doc/misc/cl.texi: More copyedits, plus:
(Time of Evaluation, Iteration): Add xref to Emacs Lisp manual.
(Macro Bindings, Blocks and Exits): Acknowledge existence of lexical-binding.
(Iteration): Mainly defer to doc of standard dolist, dotimes.
2012-11-01 00:16:32 -07:00
Glenn Morris
df43dd5361 * doc/misc/cl.texi: General copyedits for style, line-breaks, etc.
Replace "..." by @dots; car by @sc{car}, etc.
2012-10-31 21:44:50 -04:00
Glenn Morris
87b0d8b1d1 * doc/misc/cl.texi (Modify Macros, Function Bindings): Add some xrefs. 2012-10-31 17:04:28 -04:00
Paul Eggert
5c6ce1c7d0 Spelling fixes. 2012-10-31 12:23:06 -07:00
Glenn Morris
69c1c2e65a Document cl-flet and cl-labels in doc/misc/cl.texi
* doc/misc/cl.texi (Function Bindings): Update for cl-flet and cl-labels.
(Obsolete Lexical Binding): Rename section from "Lexical Bindings".
(Obsolete Macros): Rename section from "Obsolete Lexical Macros".
Reword, and add details of flet and labels.

* etc/NEWS: Related markup.
2012-10-31 00:25:18 -07:00
Glenn Morris
86a7968c86 Fix typo in earlier cl.texi change 2012-10-30 15:23:13 -04:00
Glenn Morris
f43a5263c1 cl-mapc small fixes
* lisp/emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.

* doc/misc/cl.texi (Mapping over Sequences): Mention cl-mapc naming oddity.
2012-10-30 01:03:22 -07:00
Glenn Morris
516e1a08ce More small manual updates for cl.texi
* doc/misc/cl.texi (Setf Extensions): Partially restore note about cl-getf,
mainly moved to lispref/variables.texi.
(Property Lists): Fix cl-getf typos.

* doc/lispref/variables.texi (Generalized Variables): Fix typo.
2012-10-30 00:54:17 -07:00
Glenn Morris
4ddedf94c8 Doc and manual updates for cl-letf and letf
Fixes: debbugs:12760

* doc/misc/cl.texi (Modify Macros): Update for cl-letf changes.
(Obsolete Lexical Macros): Say a little more about letf/cl-letf.

* lisp/emacs-lisp/cl.el (letf): Doc fix. 

* etc/NEWS: Related edit.
2012-10-30 00:34:37 -07:00
Glenn Morris
d55911cf1d * cl.texi (Modify Macros, Other Clauses): Remove mentions of obsolete features. 2012-10-28 18:36:29 -07:00
Glenn Morris
6a07d52ed8 * doc/misc/cl.texi (Obsolete Setf Customization): Don't mention `apply' setf. 2012-10-28 18:31:10 -07:00
Glenn Morris
d571e9c385 Move some cl.texi setf extensions to the Obsolete appendix
* doc/misc/cl.texi (Customizing Setf):
Move contents to "Obsolete Setf Customization".
(Modify Macros, Multiple Values): Remove mentions of obsolete feature.
2012-10-28 18:29:22 -07:00
Glenn Morris
a3c5b619fc * cl.texi (Setf Extensions): Remove `apply' setf since it seems to be disabled. 2012-10-28 18:19:26 -07:00
Glenn Morris
f1e1b6f3d3 Doc fix (use an alias to be consistent with the rest of this manual) 2012-10-28 18:14:50 -07:00
Glenn Morris
d3094168d6 * doc/misc/cl.texi (Organization): More details on cl-lib.el versus cl.el. 2012-10-28 18:06:13 -07:00
Glenn Morris
f94b04fcc7 More cl.texi updates
* doc/misc/cl.texi (Multiple Values, Common Lisp Compatibility):
More namespace updates.
(Obsolete Features): Copyedits.
(Obsolete Lexical Macros, Obsolete Setf Customization): New subsections.

* etc/NEWS: Related edits.
2012-10-27 19:34:36 -07:00
Glenn Morris
9c52d61d07 Add some xrefs to cl.texi
* doc/misc/cl.texi (Porting Common Lisp, Lexical Bindings):
Add some xrefs to the Elisp manual.
2012-10-27 19:05:04 -07:00
Glenn Morris
3c0c6155a1 Start moving some cl.texi features to an Obsolete appendix
* doc/misc/cl.texi (Lexical Bindings): Move to appendix of obsolete features.
(Porting Common Lisp): Emacs Lisp can do true lexical binding now.
(Obsolete Features): New appendix.  Move Lexical Bindings here.
2012-10-27 18:55:40 -07:00
Glenn Morris
e11174254b * doc/misc/cl.texi: Use defmac for macros rather than defspec.
(Efficiency Concerns): Related copyedit.
2012-10-27 15:54:53 -07:00
Glenn Morris
5887564d5b Move generalized variable documentation from misc/cl.texi to lispref
* doc/lispref/variables.texi (Generalized Variables): New section,
adapted from misc/cl.texi.

* doc/lispref/elisp.texi (Top): Add Generalized Variables to menu.

* doc/lispref/lists.texi (List Elements, List Variables):
Mention generalized variables.

* doc/misc/cl.texi (Control Structure): Update for setf now being in core.
(Setf Extensions): Rename from Basic Setf.  Move much of the
former content to lispref/variables.texi.
(Modify Macros): Move pop, push details to lispref/variables.texi.
(Customizing Setf): Copyedits for setf etc being in core.
(Modify Macros, Efficiency Concerns, Porting Common Lisp):
Further namespaces updates.
2012-10-27 15:42:07 -07:00