diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2005-05-18 10:17:59 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2005-05-18 10:17:59 +0000 |
commit | 887195ac8398ff3569c5fc45c4566f3c6bce2e3a (patch) | |
tree | cf38d5b779f4a714ccdd7118ab741b297e510815 /lisp/forms.el | |
parent | 3981e5b5f52b39554131132e5e3a428d8508f546 (diff) | |
download | emacs-887195ac8398ff3569c5fc45c4566f3c6bce2e3a.tar.gz |
Replace `eval-current-buffer' by `eval-buffer'.
Diffstat (limited to 'lisp/forms.el')
-rw-r--r-- | lisp/forms.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/forms.el b/lisp/forms.el index aa0582c918a..61d2441a9ea 100644 --- a/lisp/forms.el +++ b/lisp/forms.el @@ -63,7 +63,7 @@ ;; Automatic mode switching is supported if you specify ;; "-*- forms -*-" in the first line of the control file. ;; -;; The control file is visited, evaluated using `eval-current-buffer', +;; The control file is visited, evaluated using `eval-buffer', ;; and should set at least the following variables: ;; ;; forms-file [string] @@ -519,7 +519,7 @@ Commands: Equivalent keys in read-only mode: (yes-or-no-p (concat "Evaluate lisp code in buffer " (buffer-name) " to display forms "))) - (eval-current-buffer) + (eval-buffer) (error "`enable-local-eval' inhibits buffer evaluation")) ;; Check if the mandatory variables make sense. |