From: Juanma Barranquero Date: Wed, 18 May 2005 10:17:59 +0000 (+0000) Subject: Replace `eval-current-buffer' by `eval-buffer'. X-Git-Tag: ttn-vms-21-2-B4~198 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=887195ac8398ff3569c5fc45c4566f3c6bce2e3a;p=emacs.git Replace `eval-current-buffer' by `eval-buffer'. --- diff --git a/lisp/finder.el b/lisp/finder.el index 7a886e5480f..fb327524793 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -182,7 +182,7 @@ no arguments compiles from `load-path'." ;;; End: ;;; " (file-name-nondirectory generated-finder-keywords-file) " ends here\n") (kill-buffer "*finder-scratch*") - (eval-current-buffer) ;; So we get the new keyword list immediately + (eval-buffer) ;; So we get the new keyword list immediately (basic-save-buffer)))) (defun finder-compile-keywords-make-dist () 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. diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el index b3149500ae5..653c1e7f042 100644 --- a/lisp/shadowfile.el +++ b/lisp/shadowfile.el @@ -675,7 +675,7 @@ Returns t unless files were locked; then returns nil." (message "Data recovered from %s." (car (insert-file-contents (make-auto-save-file-name)))) (sit-for 1)) - (eval-current-buffer)) + (eval-buffer)) (when shadow-todo-file (set-buffer (setq shadow-todo-buffer (find-file-noselect shadow-todo-file))) @@ -686,7 +686,7 @@ Returns t unless files were locked; then returns nil." (message "Data recovered from %s." (car (insert-file-contents (make-auto-save-file-name)))) (sit-for 1)) - (eval-current-buffer nil)) + (eval-buffer nil)) (shadow-invalidate-hashtable)) t))