Skip to content

Commit

Permalink
Add README.mkdn
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinAwardWinner committed Sep 23, 2013
1 parent e2e4e9a commit a4042f7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Empty file added .gitignore
Empty file.
16 changes: 16 additions & 0 deletions README.mkdn
@@ -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.
2 changes: 2 additions & 0 deletions osx-pseudo-daemon.el
Expand Up @@ -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
Expand Down

0 comments on commit a4042f7

Please sign in to comment.