mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Move define_error declaration and docstring
* src/lisp.h (define_error): Move declaration to its proper place, make external, and move its docstring... * src/eval.c (define_error): ...to its function definition.
This commit is contained in:
parent
9811f80d25
commit
2ec7396d5d
2 changed files with 4 additions and 5 deletions
|
|
@ -4867,6 +4867,7 @@ extern AVOID xsignal2 (Lisp_Object, Lisp_Object, Lisp_Object);
|
|||
extern AVOID xsignal3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
|
||||
extern AVOID signal_error (const char *, Lisp_Object);
|
||||
extern AVOID overflow_error (void);
|
||||
extern void define_error (Lisp_Object name, const char *message, Lisp_Object parent);
|
||||
extern bool FUNCTIONP (Lisp_Object);
|
||||
extern Lisp_Object funcall_subr (struct Lisp_Subr *subr, ptrdiff_t numargs, Lisp_Object *arg_vector);
|
||||
extern Lisp_Object eval_sub (Lisp_Object form);
|
||||
|
|
@ -5975,11 +5976,6 @@ maybe_gc (void)
|
|||
maybe_garbage_collect ();
|
||||
}
|
||||
|
||||
/* Simplified version of 'define-error' that works with pure
|
||||
objects. */
|
||||
void
|
||||
define_error (Lisp_Object name, const char *message, Lisp_Object parent);
|
||||
|
||||
INLINE_HEADER_END
|
||||
|
||||
#endif /* EMACS_LISP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue