%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/play/ |
Current File : //usr/local/share/emacs/27.2/lisp/play/zone.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@62 The timer we use to decide when to zone out, or nil if none. (defvar zone-timer nil (#$ . 408)) #@80 Seconds to timeout the zoning. If nil, don't interrupt for about 1^26 seconds. (defvar zone-timeout nil (#$ . 510)) (defvar zone-programs [zone-pgm-jitter zone-pgm-putz-with-case zone-pgm-dissolve zone-pgm-whack-chars zone-pgm-rotate zone-pgm-rotate-LR-lockstep zone-pgm-rotate-RL-lockstep zone-pgm-rotate-LR-variable zone-pgm-rotate-RL-variable zone-pgm-drip zone-pgm-drip-fretfully zone-pgm-five-oclock-swan-dive zone-pgm-martini-swan-dive zone-pgm-rat-race zone-pgm-paragraph-spaz zone-pgm-stress zone-pgm-stress-destress zone-pgm-random-life]) (defalias 'zone-orig '(macro . #[(&rest body) "\301\302BB\207" [body with-current-buffer (get 'zone 'orig-buffer)] 3])) (defalias 'zone-hiding-mode-line '(macro . #[(&rest body) "\301\302BB\207" [body let (mode-line-format)] 3])) #@360 Call PROGRAM in a zoned way. If PROGRAM is a function, call it, interrupting after the amount of time in seconds specified by optional arg TIMEOUT, or `zone-timeout' if unspecified, q.v. PROGRAM can also be a list of elements, which are interpreted like so: If the element is a function or a list of a function and a number, apply `zone-call' recursively. (defalias 'zone-call #[(program &optional timeout) "\306!\2030 \3072% \310 \206 \n\206 \311\312\313\"\314\315#\211\fB\316\216 +0\211\307=?\205. )\207<\2059 \317\320\"\207" [program timeout zone-timeout -with-timeout-timer- with-timeout-timers -with-timeout-value- functionp #1=#:timeout run-with-timer ash 1 26 nil #[nil "\300\301\211\"\207" [throw #1#] 3] #[nil "\301!\207" [-with-timeout-timer- cancel-timer] 2] mapcar #[(elem) "\301!\203\n \302!\207<\203\"