aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorGrégoire Jadi2013-07-16 19:39:20 +0200
committerGrégoire Jadi2013-07-16 19:39:20 +0200
commitb849935e98818a36b2561332514b1f7b6ea356bd (patch)
treeb867bcae0e2a44d4402d778219cdda374fd3a9cc /src/coding.h
parent53e29768677204cca7eeb012aa70740b14e1162b (diff)
downloademacs-b849935e98818a36b2561332514b1f7b6ea356bd.tar.gz
emacs-b849935e98818a36b2561332514b1f7b6ea356bd.zip
* src/xwidget.c: Add a `query-on-exit' flag to determine whether we can
kill xwidget when the buffer is killed without confirmation. (Fset_xwidget_query_on_exit_flag): New function to set the `query-on-exit' flag. (Fxwidget_query_on_exit_flag): New function to retrieve the value of the `query-on-exit' flag. (Fmake_xwidget): Set the `query-on-exit' flag to t by default. * src/xwidget.h (xwidget): Add new field `kill_without_query'. * lisp/xwidget.el (xwidget-kill-buffer-query-function): Ask for confirmation before killing the buffer if a xwidget is present only if its `query-on-exit' flag is enabled.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions