From 887195ac8398ff3569c5fc45c4566f3c6bce2e3a Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 18 May 2005 10:17:59 +0000 Subject: Replace `eval-current-buffer' by `eval-buffer'. --- lisp/forms.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/forms.el') 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. -- cgit v1.2.1