From: Stefan Monnier Date: Fri, 27 Sep 2002 19:51:58 +0000 (+0000) Subject: (write-abbrev-file): Don't hardcode point-min == 1. X-Git-Tag: ttn-vms-21-2-B4~13028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3004cff449ee1854b66bb26e2ffb082a12885d28;p=emacs.git (write-abbrev-file): Don't hardcode point-min == 1. --- diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 8e6b3ae69d8..a73c8e0fe8d 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -219,7 +219,7 @@ The argument FILE is the file name to write." (while tables (insert-abbrev-table-description (car tables) nil) (setq tables (cdr tables)))) - (write-region 1 (point-max) file) + (write-region (point-min) (point-max) file) (erase-buffer))) (defun add-mode-abbrev (arg)