summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el5
-rw-r--r--lib/eos/jao-afio.el2
2 files changed, 5 insertions, 2 deletions
diff --git a/init.el b/init.el
index 41b6d3a..09c4bd3 100644
--- a/init.el
+++ b/init.el
@@ -1163,7 +1163,10 @@
;; (jao-afio-use-frames "")
(t (format "%s" (or (jao-afio-frame-name) ""))))
'face 'font-lock-warning-face))
- (jao-minibuffer-add-variable '(jao-current--frame-id) 100)
+
+ (if jao-afio-use-frames
+ (add-to-list 'global-mode-string '(:eval (jao-afio-frame-name)))
+ (jao-minibuffer-add-variable '(jao-current--frame-id) 100))
(setq frame-title-format '("emacs - " (:eval (jao-afio-frame-name))))
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 04d31ba..1099344 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -49,7 +49,7 @@
(interactive)
(jao-afio--current-config ?c)
(if jao-afio-use-frames
- (jao-afio--set-up-frame)
+ (jao-afio--set-up-frame ?c)
(window-configuration-to-register ?c)))
(defun jao-afio--check-frame ()