further commentary
This commit is contained in:
parent
a08cdc8043
commit
54d4a9c9ca
1 changed files with 14 additions and 11 deletions
25
quiet.el
25
quiet.el
|
@ -27,19 +27,22 @@
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;; disconnect from the online world for a while, possibly reconnecting later
|
;; A simple package to disconnect from the online world for a while,
|
||||||
|
;; possibly reconnecting later. Any interruptions or distractions
|
||||||
|
;; which occur once the command is run are guaranteed to be local.
|
||||||
;;
|
;;
|
||||||
;; you may need to customize or setq quiet-disconnect and quiet-connect to
|
;; 'M-x quiet' will disconnect from the network, optionally
|
||||||
;; the appropriate shell commands to turn your network (interface) on or off
|
;; reconnecting after a certain time.
|
||||||
|
;;
|
||||||
|
;; the function 'quiet' can be used anywhere in emacs where a lack of
|
||||||
|
;; network access could be seen as a feature, e.g. as a mode-hook (or
|
||||||
|
;; with defadvice) to your preferred distraction free writing
|
||||||
|
;; environment.
|
||||||
|
;;
|
||||||
|
;; you may need to customize or setq quiet-disconnect and
|
||||||
|
;; quiet-connect to the appropriate shell commands to turn your
|
||||||
|
;; network (interface) on or off
|
||||||
;;
|
;;
|
||||||
;; MacOS
|
|
||||||
;; % networksetup -setairportpower airport {on,off}
|
|
||||||
;; Linux
|
|
||||||
;; % ifup wlan0
|
|
||||||
;; % ifdown wlan0
|
|
||||||
;; BSD
|
|
||||||
;; % service netif {stop, start}
|
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(provide 'quiet)
|
(provide 'quiet)
|
||||||
|
|
Loading…
Reference in a new issue