aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-04-07 03:19:44 +0000
committerGlenn Morris2009-04-07 03:19:44 +0000
commit73f6360c505778fa4ef8a3fbc24f9ef53cda40c6 (patch)
treeb07e7e6f8c7662d21bbfc24061be8c6dc3046772
parent384b53ab0fd58e74ec92c664ee4dff2b7aeaed4c (diff)
downloademacs-73f6360c505778fa4ef8a3fbc24f9ef53cda40c6.tar.gz
emacs-73f6360c505778fa4ef8a3fbc24f9ef53cda40c6.zip
(ns-pop-up-frames): Make it a defcustom.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/term/ns-win.el11
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 13f68c6d6c8..c318b8744a9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12009-04-07 Glenn Morris <rgm@gnu.org> 12009-04-07 Glenn Morris <rgm@gnu.org>
2 2
3 * term/ns-win.el (ns-pop-up-frames): Make it a defcustom.
4
3 * mail/rmail.el (rmail-expunge-and-save): Let rmail-expunge show the 5 * mail/rmail.el (rmail-expunge-and-save): Let rmail-expunge show the
4 message. 6 message.
5 (rmail-quit): Mark summary unmodified. 7 (rmail-quit): Mark summary unmodified.
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 1cc97aed78f..9a560b81ed0 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -955,10 +955,15 @@ Lines are highlighted according to `ns-input-line'."
955 (message ns-output-file) 955 (message ns-output-file)
956 (if ns-output-file (write-file ns-output-file)))) 956 (if ns-output-file (write-file ns-output-file))))
957 957
958(defvar ns-pop-up-frames 'fresh 958(defcustom ns-pop-up-frames 'fresh
959 "*Non-nil means open files upon request from the Workspace in a new frame. 959 "Non-nil means open files upon request from the Workspace in a new frame.
960If t, always do so. Any other non-nil value means open a new frame 960If t, always do so. Any other non-nil value means open a new frame
961unless the current buffer is a scratch buffer.") 961unless the current buffer is a scratch buffer."
962 :type '(choice (const :tag "Never" nil)
963 (const :tag "Always" t)
964 (other :tag "Except for scratch buffer" fresh))
965 :version "23.1"
966 :group 'ns)
962 967
963(declare-function ns-hide-emacs "nsfns.m" (on)) 968(declare-function ns-hide-emacs "nsfns.m" (on))
964 969