X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdevice.c;h=44d69babc1b4b7a488f55fe1fb2a6a4890b543b0;hb=49798660c638e91e7bcb4432d0aa7440bab49568;hp=e96ff39f3c12269846450e7f05d3cba576aeed09;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/device.c b/src/device.c index e96ff39..44d69ba 100644 --- a/src/device.c +++ b/src/device.c @@ -817,6 +817,9 @@ delete_device_internal (struct device *d, int force, void io_error_delete_device (Lisp_Object device) { + /* Note: it's the console that should get deleted, but + delete_device_internal() contains a hack that also deletes the + console when called from this function. */ delete_device_internal (XDEVICE (device), 1, 0, 1); }