diff options
Diffstat (limited to 'compat-31.el')
| -rw-r--r-- | compat-31.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compat-31.el b/compat-31.el index 1e4f24f..4133bdb 100644 --- a/compat-31.el +++ b/compat-31.el @@ -29,6 +29,10 @@ ;;;; Defined in subr.el +(compat-defun set-local (variable value) ;; <compat-tests:set-local> + "Make VARIABLE buffer local and set it to VALUE." + (set (make-local-variable variable) value)) + (compat-defun take-while (pred list) ;; <compat-tests:take-while> "Return the longest prefix of LIST whose elements satisfy PRED." (let ((r nil)) |
