Index: emacs/lisp/forms.el
diff -c emacs/lisp/forms.el:2.50 emacs/lisp/forms.el:2.51
*** emacs/lisp/forms.el:2.50    Sat Apr 10 05:55:47 2004
--- emacs/lisp/forms.el Wed May 18 10:17:59 2005
***************
*** 63,69 ****
  ;; 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',
  ;; and should set at least the following variables:
  ;;
  ;;    forms-file                              [string]
--- 63,69 ----
  ;; 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-buffer',
  ;; and should set at least the following variables:
  ;;
  ;;    forms-file                              [string]
***************
*** 519,525 ****
                (yes-or-no-p
                 (concat "Evaluate lisp code in buffer "
                         (buffer-name) " to display forms ")))
!           (eval-current-buffer)
          (error "`enable-local-eval' inhibits buffer evaluation"))
  
        ;; Check if the mandatory variables make sense.
--- 519,525 ----
                (yes-or-no-p
                 (concat "Evaluate lisp code in buffer "
                         (buffer-name) " to display forms ")))
!           (eval-buffer)
          (error "`enable-local-eval' inhibits buffer evaluation"))
  
        ;; Check if the mandatory variables make sense.


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to