emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/control.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/control.texi
Date: Sun, 12 May 2002 13:04:52 -0400

Index: emacs/lispref/control.texi
diff -c emacs/lispref/control.texi:1.16 emacs/lispref/control.texi:1.17
*** emacs/lispref/control.texi:1.16     Thu Jan 20 22:14:42 2000
--- emacs/lispref/control.texi  Sun May 12 13:04:51 2002
***************
*** 733,738 ****
--- 733,744 ----
  @subsubsection How to Signal an Error
  @cindex signaling errors
  
+    @dfn{Signalling} an error means beginning error processing.  Error
+ processing normally aborts all or part of the running program and
+ returns to a point that is set up to handle the error
+ (@pxref{Processing of Errors}).  Here we describe how to signal an
+ error.
+ 
    Most errors are signaled ``automatically'' within Lisp primitives
  which you call for other purposes, such as if you try to take the
  @sc{car} of an integer or move forward a character at the end of the
***************
*** 743,752 ****
  considered an error, but it is handled almost like an error.
  @xref{Quitting}.
  
!   The error message should state what is wrong (``File does not
! exist''), not how things ought to be (``File must exist'').  The
! convention in Emacs Lisp is that error messages should start with a
! capital letter, but should not end with any sort of punctuation.
  
  @defun error format-string &rest args
  This function signals an error with an error message constructed by
--- 749,759 ----
  considered an error, but it is handled almost like an error.
  @xref{Quitting}.
  
!   Every error specifies an error message, one way or another.  The
! message should state what is wrong (``File does not exist''), not how
! things ought to be (``File must exist'').  The convention in Emacs
! Lisp is that error messages should start with a capital letter, but
! should not end with any sort of punctuation.
  
  @defun error format-string &rest args
  This function signals an error with an error message constructed by



reply via email to

[Prev in Thread] Current Thread [Next in Thread]