Lines Matching defs:variable
43 ;; 5. It's one of (add-to-list, setq, push, pop) and the assignment variable
61 ;; 1. Has the `risky-local-variable' property.
67 ;; An assignment variable is unsafe if:
75 ;; 2. The form alters a risky variable that was recently added to Emacs and
76 ;; is not yet marked with the `risky-local-variable' property.
95 (put 'unsafep-vars 'risky-local-variable t)
152 (let ((y (unsafep-variable x t)))
171 (setq reason (or (unsafep-variable (car arg) nil)
177 (unsafep-variable (cadr form) nil))
181 (unsafep-variable (nth 2 form) nil)))
187 (or (unsafep-variable (cadr arg) nil)
202 (or (unsafep-variable (cadr form) t)
246 (setq reason (or (unsafep-variable sym t) reason))
250 (defun unsafep-variable (sym to-bind)
256 `(variable ,sym))
257 ((risky-local-variable-p sym nil)
258 `(risky-local-variable ,sym))
261 (local-variable-p sym)))
262 `(global-variable ,sym))))