jr@LF-SERVER-2.BBN.COM (John Robinson) (09/01/87)
>> mayer@hplabsz.HPL.HP.COM (Niels Mayer) writes: >> > Oh yeah, and while I've got your attention let me ask another question: >> > what is it about the buffers created by shell-command, dired, etc. that allows >> > kill-buffer to delete the buffer without querying the user with >> > "Buffer xyzzy modified; kill anyway?". >> >> I think it's the fact that the buffer name starts with '*'. At least, >> if I manually make such a buffer (via c-X B), I can delete it without >> it questioning me. Nope. If the variable buffer-file-name is nil, emacs figures you don't care about its disposition (or if it is unmodified - no ** in the mode line). Otherwise, what would happen if you wnatrd to edit a file whose name happened to begin with '*'? (try ^X^F *foo for kicks). /jr jr@bbn.com or jr@bbn.uucp