bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

whitespace.el: auto-cleanup on kill prevents killing read-only buffers


From: Reuben Thomas
Subject: whitespace.el: auto-cleanup on kill prevents killing read-only buffers
Date: Fri, 2 May 2008 15:35:26 +0100 (BST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

I have whitespace-global-mode on and have it set to auto-cleanup on kill. This stops read-only buffers from being killed, as auto-cleanup tries to clean them up, gets an error, and aborts the kill.

The old whitespace mode used to check to see if it was being called in a read-only buffer, and didn't try to clean up under those circumstances.

I'm using Emacs 23.0.60.1, but as far as I can tell the problem still exists in CVS head.

--
http://rrt.sc3d.org/ | Floc: an egregiously good aperitif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]