diff -r adacfc97125b -r 2a99ede322cd .emacs-my --- a/.emacs-my Sun Feb 26 19:45:31 2012 +0200 +++ b/.emacs-my Mon Feb 27 12:19:25 2012 +0200 @@ -458,7 +458,7 @@ ) (defun my-prevent-kill-buffer () - (if (equal (buffer-name) "*scratch*") nil t)) + (if (member (buffer-name) '("*scratch*" "NOTE.org")) nil t)) (add-to-list 'kill-buffer-query-functions 'my-prevent-kill-buffer) (define-key global-map "\C-ct" (lambda nil (interactive) (switch-to-buffer "*scratch*")))