summaryrefslogtreecommitdiff
path: root/doc/lispref/macros.texi
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Remove spurious @example from the elisp manualColin Woodbury2021-05-311-2/+0
| | | | | | | * doc/lispref/macros.texi (Defining Macros): Remove spurious extra pair of @example/@end example. Copyright-paperwork-exempt: yes
* * doc/lispref/macros.texi (Eval During Expansion): Copy edit.Štěpán Němec2021-04-251-12/+14
|
* * doc/lispref/macros.texi (Eval During Expansion): Fix fixmeStefan Monnier2021-04-241-9/+9
|
* ; Fix some typos in doc strings and manualsŠtěpán Němec2021-04-241-1/+1
|
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Documentation fix in elisp reference manualTino Calancha2017-02-241-4/+0
| | | | | * doc/lispref/macros.texi (Defining Macros): Drop redundant mention on 'declare' forms (Bug#25846).
* Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | Run admin/update-copyright.
* Mention `lisp-indent-function' in the lispref manualLars Ingebrigtsen2016-05-011-0/+5
| | | | | | | * doc/lispref/macros.texi (Indenting Macros): Mention `lisp-indent-function' (bug#3393). (cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)
* * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.Eli Zaretskii2016-01-161-0/+6
|
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Quote less in manualsPaul Eggert2015-09-151-3/+3
| | | | | | | | | | The manuals often used quotes ``...'' when it is better to use @dfn or @code or capitalized words or no quoting at all. For example, there is no need for the `` and '' in “if a variable has one effect for @code{nil} values and another effect for ``non-@code{nil}'' values”. Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate unnecessary quoting like this, and to use @dfn etc. instead when called for (Bug#21472).
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Improve indexing on the chapter/section/subsection levels.Eli Zaretskii2014-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/lispref/windows.texi (Recombining Windows): Index subject of sections. doc/lispref/variables.texi (Variables with Restricted Values) (Generalized Variables): Index subject of sections. doc/lispref/text.texi (Buffer Contents, Examining Properties) (Changing Properties, Property Search, Substitution): Index subject of sections. doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions) (Motion via Parsing, Position Parse, Control Parsing): Index subject of sections. doc/lispref/strings.texi (Predicates for Strings, Creating Strings) (Modifying Strings, Text Comparison): Index subject of sections. doc/lispref/searching.texi (Syntax of Regexps, Regexp Special) (Regexp Functions, Regexp Functions): Index subject of sections. doc/lispref/processes.texi (Subprocess Creation, Process Information): Index subject of sections. doc/lispref/positions.texi (Screen Lines): Index subject of sections. doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems): Index subject of sections. doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer) (Multiple Queries, Minibuffer Contents): Index subject of sections. doc/lispref/markers.texi (Predicates on Markers, Creating Markers) (Information from Markers, Moving Markers): Index subject of sections. doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index subject of sections. doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject of sections. doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar) (Setcdr, Plist Access): Index subject of sections. doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps) (Modifying Menus): Index subject of sections. doc/lispref/help.texi (Accessing Documentation, Help Functions): Index subject of sections. doc/lispref/hash.texi (Hash Access): Index subject of sections. doc/lispref/functions.texi (Core Advising Primitives) (Advising Named Functions, Porting old advices): Index subject of sections. doc/lispref/frames.texi (Creating Frames, Initial Parameters) (Position Parameters, Buffer Parameters, Minibuffers and Frames) (Pop-Up Menus, Drag and Drop): Index subject of sections. doc/lispref/files.texi (Visiting Functions, Kinds of Files) (Unique File Names): Index subject of sections. doc/lispref/display.texi (Refresh Screen, Echo Area Customization) (Warning Variables, Warning Options, Delayed Warnings) (Temporary Displays, Managing Overlays, Overlay Properties) (Finding Overlays, Size of Displayed Text, Defining Faces) (Attribute Functions, Displaying Faces, Face Remapping) (Basic Faces, Font Lookup, Fontsets, Replacing Specs) (Defining Images, Showing Images): Index subject of sections. doc/lispref/debugging.texi (Debugging, Explicit Debug) (Invoking the Debugger, Excess Open, Excess Close): Index subject of sections. doc/lispref/customize.texi (Defining New Types, Applying Customizations) (Custom Themes): Index subject of sections. doc/lispref/control.texi (Sequencing, Combining Conditions) (Processing of Errors, Cleanups): Index subject of sections. doc/lispref/compile.texi (Eval During Compile): Index subject of sections. doc/lispref/commands.texi (Using Interactive, Distinguish Interactive) (Command Loop Info, Classifying Events, Event Mod) (Invoking the Input Method): Index subject of sections. doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections. doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names) (Reverting): Index subject of sections. doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files) (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties) (Abbrev Table Properties): Index subject of sections. doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing) (Time Calculations, Idle Timers): Index subject of sections.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Document `special-form-p' and `macrop'.Xue Fuqiao2013-12-231-0/+5
| | | | | | * doc/lispref/eval.texi (Special Forms): Document `special-form-p'. * doc/lispref/macros.texi (Simple Macro): Document `macrop'.
* * doc/lispref/macros.texi (Defining Macros): Prefer "function" to "lambdaStefan Monnier2013-09-081-2/+2
| | | | | | expression". Fixes: debbugs:15296
* Doc fixes related to "(declare (indent symbol))" (bug#13450)Glenn Morris2013-01-151-2/+2
| | | | | | | * doc/lispref/macros.texi (Indenting Macros): Fix order of an indent symbol's arguments. * lisp/emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+2
|
* Fix minor whitespace issues after "." in manual.Paul Eggert2012-12-051-1/+1
| | | | | | | | | | | | 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
* Document eager macro expansionGlenn Morris2012-11-171-0/+4
| | | | | | | * doc/lispref/loading.texi (How Programs Do Loading): Add eager macro expansion. * doc/lispref/macros.texi (Expansion): Mention eager macro expansion. * etc/NEWS: Related edit.
* More documentation fixes for changes to defun, defmacro, etc.Chong Yidong2012-10-151-22/+25
| | | | | | | | | | | | | * doc/lispref/functions.texi (Anonymous Functions): Explicitly list the docstring, declare, and interactive arguments to lambda. (Defining Functions): Likewise for defun. (Inline Functions): Likewise for defsubst. (Declare Form): Tweak description. * doc/lispref/macros.texi (Defining Macros): defmacro is now a macro. Explicitly list the docstring and declare arguments. * emacs-lisp/byte-run.el (defsubst): Doc fix.
* Update docs for a bunch of 24.3 changes.Chong Yidong2012-09-301-37/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill. * doc/emacs/search.texi (Special Isearch): Document the lax space search feature and M-s SPC. (Regexp Search): Move main search-whitespace-regexp description to Special Isearch. (Replace): Document replace-lax-whitespace. * doc/emacs/basic.texi (Position Info): Document C-u M-=. (Moving Point): Document move-to-column. * doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines. * doc/emacs/misc.texi (emacsclient Options): Document the effect of initial-buffer-choice on client frames. Document server-auth-dir. Do not document server-host, which is bad security practice. * doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger autoloading. Document help-enable-auto-load. * doc/emacs/mini.texi (Yes or No Prompts): New node. * doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages. * doc/lispref/commands.texi (Click Events): Define "mouse position list". Remove mention of unimplemented horizontal scroll bars. (Drag Events, Motion Events): Refer to "mouse position list". (Accessing Mouse): Document posnp. * doc/lispref/errors.texi (Standard Errors): Tweak arith-error description. Tweak markup. Remove domain-error and friends, which seem to be unused after the floating-point code revamp. * doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects documentation commands. Various clarifications. (Declare Form): New node. * doc/lispref/loading.texi (Autoload): * doc/lispref/help.texi (Documentation Basics): The special sequences can trigger autoloading. * doc/lispref/macros.texi (Defining Macros): Move description of `declare' to Declare Form node. * doc/lispref/numbers.texi (Integer Basics): Copyedits. (Float Basics): Consider IEEE floating point always available. (Random Numbers): Document actual limits. (Arithmetic Operations): Clarify division by zero. Don't mention the machine-independence of negative division since it does not happen in practice. * doc/lispref/os.texi (Idle Timers): Minor clarifications. (User Identification): Add system-users and system-groups. * doc/lispref/strings.texi (String Basics): Copyedits. * lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix. * lisp/server.el (server-host): Document the security implications. (server-auth-key): Doc fix. * lisp/startup.el (initial-buffer-choice): Doc fix. * src/fns.c (Frandom): Doc fix.
* Fix return value of `defun' and un-define it.Stefan Monnier2012-06-181-7/+2
| | | | | | | | | * src/data.c (Fdefalias): Return `symbol'. * doc/lispref/functions.texi (Defining Functions): * doc/lispref/macros.texi (Defining Macros): Un-define the return value of `defun', `defmacro' and `defalias'. Fixes: debbugs:11686
* Merge changes from emacs-24; up to 2012-04-26T02:03:19Z!ueno@unixuser.orgChong Yidong2012-06-171-2/+3
|\
| * More minor manual copyedits to fix 7x9 manual underfull/overfull hboxes.Chong Yidong2012-06-111-2/+3
| | | | | | | | | | | | | | | | * doc/emacs/emacs.texi: Remove urlcolor setting. * doc/lispref/elisp.texi, vol1.texi, vol2.texi: Remove urlcolor setting. * doc/lispref/vol2.texi: Include package.texi.
* | Nuke hand-written node pointers in doc/lisprefGlenn Morris2012-05-261-1/+1
| | | | | | | | Let makeinfo figure them out, as is recommended.
* | Merge from emacs-24; up to 2012-04-21T14:12:27Z!sdl.web@gmail.comGlenn Morris2012-05-081-18/+18
|\|
| * More small edits for doc/lisprefGlenn Morris2012-05-041-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * control.texi: Where possible, use example rather than smallexample. (Sequencing, Conditionals, Signaling Errors, Handling Errors): Tweak page breaks. * customize.texi: Where possible, use example rather than smallexample. (Common Keywords, Variable Definitions, Applying Customizations) (Custom Themes): Tweak page breaks. * eval.texi, functions.texi, loading.texi, macros.texi: Where possible, use example rather than smallexample. * sequences.texi (Arrays): Tweak page breaks. * symbols.texi: Where possible, use example rather than smallexample. (Symbol Components): Fix typo. (Other Plists): Tweak page break.
* | Merge changes from emacs-24 branchChong Yidong2012-04-271-1/+1
|\|
| * * doc/lispref/macros.texi (Indenting Macros): Fix typo.Glenn Morris2012-04-211-1/+1
| |
* | Remove unnecessary @setfilename commands from many doc/lispref/*.texiGlenn Morris2012-04-131-2/+1
|/
* Updates to Documentation chapter of Lisp manual.Chong Yidong2012-02-191-1/+2
| | | | | | | | | | | | | | * doc/lispref/help.texi (Documentation, Documentation Basics, Help Functions): Minor clarifications. (Accessing Documentation): Clarify what documentation-property is for. Add xref to Keys in Documentation. * doc/lispref/macros.texi (Defining Macros): * doc/lispref/modes.texi (Derived Modes): Say "documentation string" instead of docstring. * doc/lispref/tips.texi (Documentation Tips): Don't recommend using * in docstrings.
* Spelling fixes.Paul Eggert2012-02-141-1/+1
|
* Updates to Macros and Customization chapters of Lisp manual.Chong Yidong2012-02-051-110/+32
| | | | | | | | | | | | | | | | | * doc/lispref/customize.texi (Common Keywords): Minor clarifications. Document custom-unlispify-remove-prefixes. (Variable Definitions): Backquotes in defcustom seem to work fine now. Various other copyedits. * doc/lispref/macros.texi (Expansion): Minor clarification. (Backquote): Move node to eval.texi. (Defining Macros): Move an example from Backquote node. (Argument Evaluation): No need to mention Pascal. (Indenting Macros): Add xref to Defining Macros. * doc/lispref/eval.texi (Backquote): Move from macros.texi. * lisp/custom.el (defcustom): Doc fix.
* Further `declare' clarificationsLars Ingebrigtsen2012-01-261-1/+1
| | | | | * macros.texi (Defining Macros): Don't claim that `declare' only affects Edebug and indentation.
* * macros.texi (Defining Macros): Slight `declare' fixup.Lars Ingebrigtsen2012-01-261-1/+1
|
* * macros.texi (Defining Macros): Document `doc-string'.Lars Magne Ingebrigtsen2012-01-071-0/+3
| | | | Fixes: debbugs:9668
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-4/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * anti.texi (Antinews):Juanma Barranquero2009-10-041-1/+1
| | | | | | * macros.texi (Indenting Macros): * strings.texi (Creating Strings, Case Conversion): Remove duplicate words.
* (Compiling Macros): Omit misleading sentence, which implied thatChong Yidong2009-03-101-21/+7
| | | | | macros can only be used in the same file they are defined. (Backquote): Remove obsolete information about Emacs 19.