commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\303\304\305\306#\210\303\304\307\310#\207" [require s dash put f-guard-error error-conditions (error f-guard-error) error-message "Destructive operation outside sandbox"] 4) |
|
16 |
#@77 List of allowed paths to modify when guarded. |
|
17 |
|
|
18 |
Do not modify this variable. |
|
19 |
(defvar f--guard-paths nil (#$ . 621)) |
|
20 |
#@123 If PATH is allowed to be modified, yield BODY. |
|
21 |
|
|
22 |
If PATH is not allowed to be modified, throw error. |
|
23 |
|
|
24 |
(fn PATH &rest BODY) |
|
25 |
(defalias 'f--destructive '(macro . #[385 "\300\301\300\302\303\304\305E\306\305 EE\307BB\310B\311\312\313 \314BBEFBBB\207" [if f--guard-paths --any\? or f-same\? it f-ancestor-of\? (f--guard-paths) progn signal 'f-guard-error list (f--guard-paths)] 12 (#$ . 743)])) |
|
26 |
(byte-code "\300\301\302\303#\300\207" [function-put f--destructive lisp-indent-function 1] 4) |
|
27 |
#@46 Join ARGS to a single path. |
|
28 |
|
|
29 |
(fn &rest ARGS) |
|
30 |
(defalias 'f-join #[128 "\300C\301@!\302\303\304\305\306\307!\310\"\311\312%\"\210\211\203\" |