From ed3dd53fa3f5aa66adfe3ec76b704d87a4d76d41 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 17 Apr 2014 12:09:36 +0900 Subject: [PATCH] update emacs title --- emacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 0e5d463..4f46cf0 100644 --- a/emacs.el +++ b/emacs.el @@ -353,8 +353,8 @@ found, otherwise returns nil." ,(car (split-string system-name "\\.")) ":" - (file-name-nondirectory (directory-file-name - default-directory)))))) + default-directory)) + )) ;; this wont happen? (TMUX is not set, TERM is screen, not ssh-ed) (and (require 'terminal-title nil t) (terminal-title-mode)))