Permalink
Browse files

Add README.mkdn

  • Loading branch information...
1 parent e2e4e9a commit a4042f7d85e65905169a5002043ded50136e99e8 @DarwinAwardWinner committed Sep 23, 2013
Showing with 18 additions and 0 deletions.
  1. 0 .gitignore
  2. +16 −0 README.mkdn
  3. +2 −0 osx-pseudo-daemon.el
View
No changes.
View
@@ -0,0 +1,16 @@
+# OS X "Pseudo-Daemon"
+
+If you've ever tried to use Emacs in daemon mode on Mac OS X, you
+might have noticed that after you close the last graphical Emacs
+client frame, the Emacs dock icon and menu bar become non-functional
+until you create a new graphical frame. This package implements nearly
+identical behavior to daemon mode using a simple hack: whenever the
+last graphical frame is closed, a new hidden frame is created. The
+next time Emacs is activated, the hidden frame is revealed. The result
+is essentially the same as using daemon mode, but without the
+drawbacks.
+
+To turn the mode on or off, customize `osx-pseudo-daemon-mode`. If
+your Emacs config is shared across several different systems, feel
+free to enable the mode unconditionally. It has no effect on other
+systems.
View
@@ -39,6 +39,8 @@
;;; Code:
+;; Try to require ns to ensure that (featurep 'ns) is t if ns is
+;; available.
(require 'ns nil 'noerror)
(defgroup osx-pseudo-daemon nil

0 comments on commit a4042f7

Please sign in to comment.