diff options
| author | jao <jao@gnu.org> | 2025-11-12 02:20:07 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-12 02:20:07 +0000 |
| commit | a8901c52ce9bdbaa7c4cc4c988cbf8cbc80af913 (patch) | |
| tree | b4e71eff41eac846b85d5aec2e2d9ff0522d6ccc | |
| parent | 38ca7376d389569c3c5b8551b0faa7c5b9b0d8c1 (diff) | |
| download | elibs-a8901c52ce9bdbaa7c4cc4c988cbf8cbc80af913.tar.gz elibs-a8901c52ce9bdbaa7c4cc4c988cbf8cbc80af913.tar.bz2 | |
afio fix
| -rw-r--r-- | init.el | 5 | ||||
| -rw-r--r-- | lib/eos/jao-afio.el | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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 () |
