Commit 73f6360c authored by Glenn Morris's avatar Glenn Morris

(ns-pop-up-frames): Make it a defcustom.

parent 384b53ab
2009-04-07 Glenn Morris <rgm@gnu.org>
* term/ns-win.el (ns-pop-up-frames): Make it a defcustom.
* mail/rmail.el (rmail-expunge-and-save): Let rmail-expunge show the
message.
(rmail-quit): Mark summary unmodified.
......
......@@ -955,10 +955,15 @@ Lines are highlighted according to `ns-input-line'."
(message ns-output-file)
(if ns-output-file (write-file ns-output-file))))
(defvar ns-pop-up-frames 'fresh
"*Non-nil means open files upon request from the Workspace in a new frame.
(defcustom ns-pop-up-frames 'fresh
"Non-nil means open files upon request from the Workspace in a new frame.
If t, always do so. Any other non-nil value means open a new frame
unless the current buffer is a scratch buffer.")
unless the current buffer is a scratch buffer."
:type '(choice (const :tag "Never" nil)
(const :tag "Always" t)
(other :tag "Except for scratch buffer" fresh))
:version "23.1"
:group 'ns)
(declare-function ns-hide-emacs "nsfns.m" (on))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment