summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index e7e5a97a..fae2b927 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2591,7 +2591,7 @@ Called by '~/src/dotfiles/bin/emacsclient --spw/update-environment'."
(defun spw/may-pass-to-gdbmacs-p ()
(and (display-graphic-p)
(not (string= (daemonp) "gdbmacs"))
- (spw/daemon-pid "gdbmacs")))
+ (eq (server-running-p "gdbmacs") t)))
;; open a frame on a new workspace with only the relevant dired buffer open,
;; eval this form: (global-set-key "\C-cG" #'spw/grading-advance)