diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2015-10-02 05:00:23 -0400 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2015-10-11 01:15:12 -0400 |
commit | fcb5d3e8b158f7ea8492aa14f79804fae18e76f9 (patch) | |
tree | 0e0429c3a6242ca93628c5b7490ef28a94db99f1 /lisp/emacs-lisp/lisp-mode.el | |
parent | 5504ede9518053e619b2cc4bb01ce6eff254d3c8 (diff) | |
download | emacs-fcb5d3e8b158f7ea8492aa14f79804fae18e76f9.tar.gz emacs-fcb5d3e8b158f7ea8492aa14f79804fae18e76f9.tar.bz2 emacs-fcb5d3e8b158f7ea8492aa14f79804fae18e76f9.zip |
Add x_catch_errors_with_handler.
* src/xterm.c (struct x_error_message_stack): Add new fields for a
callback function and associated data pointer.
(x_error_catcher): If the callback function is set, call it after
saving the error message string.
(x_catch_errors_with_handler): Renamed from x_catch_errors but now
accepts a callback function and data pointer.
(x_catch_errors): Now a wrapper function.
* src/xterm.h (x_special_error_handler): New typedef.
(x_catch_errors_with_handler): Declare.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions