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

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

Re: Emacs ignores modified state of "untitled" buffer


From: Lennart Borgman
Subject: Re: Emacs ignores modified state of "untitled" buffer
Date: Fri, 21 May 2010 22:56:48 +0200

> With
>
> (require 'switch-to-new-buffer)
> (put 'buffer-offer-save 'permanent-local t)
> (let ((default-major-mode 'org-mode))
>  (switch-to-new-untitled-buffer))
> (setq initial-buffer-choice 'none)
>
> in site-start.el and Kevin's last version of switch-to-new-buffer, Emacs will 
> now start with an "untitled" buffer (in Org-mode; no splashscreen), always 
> ask to save data in a dirty "untitled" buffer and also dropping a file on the 
> Emacs Windows icon shortcut will open it.


I have sent a bug report asking for buffer-offer-save to be permanent-local.



reply via email to

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