(module-load feynman_path) (defvar conn nil) (defun stop-feynman () (interactive) (message ">>>> %s" (feynman/stop conn))) (add-hook 'before-make-frame-hook (lambda () (print "hereeee") (setq conn (feynman/start)) (message ">> %s" conn)))