Created
October 17, 2010 06:08
-
-
Save zed/630592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defcustom server-use-tcp nil | |
| "If non-nil, use TCP sockets instead of local sockets." | |
| :set #'(lambda (sym val) | |
| (unless (featurep 'make-network-process '(:family local)) | |
| (setq val t) | |
| (unless load-in-progress | |
| (message "Local sockets unsupported, using TCP sockets"))) | |
| (when val (random t)) | |
| (set-default sym val)) | |
| :group 'server | |
| :type 'boolean | |
| :version "22.1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment