Glenn Morris
1e548e4056
Doc updates for with-demoted-errors
...
* doc/lispref/control.texi (Handling Errors): Update with-demoted-errors.
* lisp/subr.el (with-demoted-errors): Doc fix.
* etc/NEWS: Related edit.
2014-01-23 20:11:48 -08:00
Paul Eggert
ba3189039a
Update copyright year to 2014 by running admin/update-copyright.
2014-01-01 07:43:34 +00:00
Glenn Morris
2545413005
Tweak previos change
2013-12-27 16:48:28 -08:00
Glenn Morris
c04d52fbc9
* doc/lispref/control.texi (Pattern matching case statement): Brevity.
2013-12-27 16:47:15 -08:00
Tassilo Horn
ff1c842a94
Rephrase lexical binding requirement sentence.
...
* doc/lispref/control.texi (Pattern matching case statement): Rephrase lexical
binding requirement: the example needs it, not `pcase' itself.
2013-12-25 10:12:24 +01:00
Tassilo Horn
a956004715
Fix missing arg in pcase example.
...
* doc/lispref/control.texi (Pattern matching case statement): Fix missing
argument in simple expression language sample. Add
some sample programs written in that language. Mention that
`pcase' requires lexical binding.
Fixes: debbugs:16238
2013-12-24 16:30:59 +01:00
Glenn Morris
fa02290953
Doc tweaks for cond
...
* doc/lispref/control.texi (Conditionals): Copyedits.
* src/eval.c (Fcond): Doc tweak.
2013-10-09 13:17:20 -04:00
Xue Fuqiao
4517cbc2ea
* doc/lispref/control.texi (Error Symbols): Minor fix for previous change.
2013-08-10 06:34:05 +08:00
Stefan Monnier
54bd972f15
* lisp/subr.el (define-error): New function.
...
* doc/lispref/control.texi (Signaling Errors): Refer to define-error.
(Error Symbols): Add `define-error'.
* doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
* lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
error-file-not-found and define with define-error.
* lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
and define with define-error.
* lisp/userlock.el (file-locked, file-supersession):
* lisp/simple.el (mark-inactive):
* lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
* lisp/progmodes/ada-mode.el (ada-mode-errors):
* lisp/play/life.el (life-extinct):
* lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
* lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
* lisp/nxml/rng-util.el (rng-error):
* lisp/nxml/rng-uri.el (rng-uri-error):
* lisp/nxml/rng-match.el (rng-compile-error):
* lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
* lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
* lisp/nxml/nxml-rap.el (nxml-scan-error):
* lisp/nxml/nxml-outln.el (nxml-outline-error):
* lisp/net/soap-client.el (soap-error):
* lisp/net/gnutls.el (gnutls-error):
* lisp/net/ange-ftp.el (ftp-error):
* lisp/mpc.el (mpc-proc-error):
* lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
(json-number-format, json-string-escape, json-string-format)
(json-key-format, json-object-format):
* lisp/jka-compr.el (compression-error):
* lisp/international/quail.el (quail-error):
* lisp/international/kkc.el (kkc-error):
* lisp/emacs-lisp/ert.el (ert-test-failed):
* lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
(math-underflow):
* lisp/bookmark.el (bookmark-error-no-filename):
* lisp/epg.el (epg-error): Define with define-error.
2013-08-09 17:22:44 -04:00
Ted Zlatanov
b388e7ad07
* control.texi (Pattern matching case statement): Fix typo.
2013-03-11 13:05:30 -04:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Glenn Morris
da18719115
Backport spelling fix from trunk
2012-12-11 13:43:57 -05:00
Stefan Monnier
f433306af5
* doc/lispref/control.texi (Pattern maching case statement): New node.
2012-12-09 10:36:46 -05:00
Glenn Morris
38868ad716
Document new error symbol and function user-error
...
* doc/lispref/control.texi (Signaling Errors):
* doc/lispref/debugging.texi (Error Debugging):
* doc/lispref/errors.texi (Standard Errors): Add user-error.
* etc/NEWS: Related markup.
2012-11-10 16:37:40 -08:00
Glenn Morris
88390adf40
* doc/lispref/control.texi (Catch and Throw): Add xref to cl.texi.
2012-10-31 17:00:57 -04:00
Chong Yidong
6a787d9a30
Recommand against save-window-excursion in Lisp manual.
...
* windows.texi (Window Configurations): Recommend against using
save-window-excursion.
* control.texi (Catch and Throw):
* positions.texi (Excursions): Don't mention it.
Fixes: debbugs:12075
2012-09-02 12:47:28 +08:00
Glenn Morris
ecc6530da9
Nuke hand-written node pointers in doc/lispref
...
Let makeinfo figure them out, as is recommended.
2012-05-26 18:34:14 -07:00
Glenn Morris
666b903b91
Merge from emacs-24; up to 2012-04-21T14:12:27Z!sdl.web@gmail.com
2012-05-08 20:06:08 -07:00
Glenn Morris
ddff335186
More small edits for doc/lispref
...
* 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.
2012-05-04 20:37:30 -04:00
Chong Yidong
a8e7d6d783
Merge changes from emacs-24 branch
2012-04-27 11:10:38 +08:00
Glenn Morris
16152b76a4
Use Texinfo recommended convention for quotes+punctuation.
2012-04-25 20:31:47 -04:00
Glenn Morris
1e103a7cd8
Remove unnecessary @setfilename commands from many doc/lispref/*.texi
2012-04-13 18:59:01 -07:00
Glenn Morris
7e05b1ec63
Checked errors.texi
...
* doc/lispref/errors.texi: Don't try to list _all_ the error symbols.
Add circular-list, cl-assertion-failed, compression-error.
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/lispref/control.texi (Error Symbols): Tweak "Standard Errors" description.
* admin/FOR-RELEASE: Related markup.
2012-02-25 12:59:46 -08:00
Leo Liu
1be3ca5ad7
Rename condition-case-no-debug to condition-case-unless-debug
2012-02-10 23:59:29 +08:00
Glenn Morris
866c1d2218
Document yet more things that were never added to NEWS
...
* doc/lispref/control.texi (Handling Errors):
Mention condition-case-no-debug and with-demoted-errors.
* etc/NEWS: Related edits.
2012-02-05 16:48:02 -08:00
Chong Yidong
31cbea1d3d
Update several Lisp manual chapters.
...
* doc/lispref/eval.texi (Intro Eval, Symbol Forms): Minor tweaks for
correctness with lexical scoping.
(Eval): Copyedits.
* doc/lispref/sequences.texi (Sequence Functions): Don't repeat the
introduction already given in the parent.
(Vectors): Copyedits.
(Rings): Move from lists.texi. Note that this is specific to the
ring package.
* doc/lispref/lists.texi (Cons Cells): Copyedits.
(List Elements): Mention push.
(List Variables): Mention pop.
(Rings): Move to sequences.texi.
* doc/lispref/strings.texi (Text Comparison): Minor qualification.
* doc/lispref/symbols.texi (Definitions, Symbol Components): Mention variable
scoping issues.
(Plists and Alists): Copyedits.
2012-01-23 12:23:50 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Nix
35a30759f3
Misc small lispref fixes.
...
* windows.texi (Displaying Buffers): pop-to-buffer is not a command.
* text.texi (Parsing HTML): Update for function name changes.
* syntax.texi (Syntax Flags): Small fix.
* keymaps.texi (Active Keymaps): Typo fix.
(Changing Key Bindings): Grammar fix.
* frames.texi (Minibuffers and Frames): Grammar fix.
(Window System Selections): x-select-enable-clipboard now defaults to t.
* customize.texi (Common Keywords):
* display.texi (Abstract Display):
* modes.texi (Auto-Indentation):
* nonascii.texi (Converting Representations): Typo fixes.
* control.texi (Examples of Catch): Call it "goto" not "go to".
2011-05-18 23:54:27 -07:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Stefan Monnier
ee301a7a19
* lispref/control.texi (Handling Errors) <error-message-string>: Fix arg name.
...
Fixes: debbugs:6770
2010-08-02 12:35:34 +02:00
Eli Zaretskii
7a1831cf75
Explain how to re-throw a signal.
...
control.texi (Handling Errors): How to re-throw a signal caught
by condition-case.
2010-03-31 12:43:53 +03:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
c57008f6ef
Avoid dubious uses of save-excursions.
...
* doc/lispref/positions.texi (Excursions): Recommend the use of
save-current-buffer if applicable.
* doc/lispref/text.texi (Clickable Text): Fix the example code which used
save-excursion in a naive way which sometimes preserves point and
sometimes not.
* doc/lispref/variables.texi (Creating Buffer-Local):
* doc/lispref/os.texi (Session Management):
* doc/lispref/display.texi (GIF Images):
* doc/lispref/control.texi (Cleanups): Use (save|with)-current-buffer.
* doc/misc/gnus.texi (Posting Styles): Use with-current-buffer.
* doc/misc/calc.texi (Defining Simple Commands): Prefer save-current-buffer.
2010-01-04 13:18:38 -05:00
Chong Yidong
13e31e2bd1
(Control Structures): Add cindex entry for "textual order".
2009-02-23 17:41:38 +00:00
Glenn Morris
6ed161e1d6
Add 2009 to copyright years.
2009-01-08 05:28:46 +00:00
Glenn Morris
59f800540b
(Signaling Errors): Fix `wrong-type-argument' name.
2008-11-25 04:27:29 +00:00
Eli Zaretskii
a33a1f2ac9
(Handling Errors): Document ignore-errors.
2008-10-15 12:49:11 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
6336d8c3d7
(setfilename): Go up one more level to ../../info.
2007-09-06 04:27:43 +00:00
Glenn Morris
b8d4c8d0e9
Move here from ../../lispref
2007-09-06 04:25:08 +00:00