X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fdevice.c;h=44d69babc1b4b7a488f55fe1fb2a6a4890b543b0;hp=e96ff39f3c12269846450e7f05d3cba576aeed09;hb=669565bfdc5d704dfb1d5ac1a0ec01fb3615a1ae;hpb=72a705551741d6f85a40eea486c222bac482d8dc 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); }