summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2018-02-11 11:34:49 +0000
committerAlan Third <alan@idiocy.org>2018-02-11 20:54:28 +0000
commitf7a853d818d4ef04ceefe5e34d445fd73da8fe11 (patch)
tree177a51a62ab203a24b760c5183c6ed98ffee0f79 /lisp/term
parent5a75cd1f8fbdb1dc5dbadf32c1e224e32a712194 (diff)
downloademacs-f7a853d818d4ef04ceefe5e34d445fd73da8fe11.tar.gz
Remove NS special handling of 'frame-title-format'
* lisp/term/ns-win.el (frame-title-format, icon-title-format): Change default format to just the filename. * src/nsfns.m (ns-use-proxy-icon): New variable. (ns_set_name_as_filename): Remove function. (x_implicitly_set_name): Get rid of special handling of frame-title-format. * src/nsterm.h (ns_set_represented_filename): Use new definition. * src/nsterm.m (ns_set_represented_filename): Move some of the logic from ns_set_name_as_filename into this function.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/ns-win.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index f8da1b21965..4673af30014 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -809,8 +809,8 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
;; Set some options to be as Nextstep-like as possible.
-(setq frame-title-format t
- icon-title-format t)
+(setq frame-title-format "%b"
+ icon-title-format "%b")
(defvar ns-initialized nil