Mercurial > emacs
diff lisp/abbrev.el @ 807:4f28bd14272c
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 16 Jul 1992 21:47:34 +0000 |
parents | a8d94735277e |
children | 20674ae6bf52 |
line wrap: on
line diff
--- a/lisp/abbrev.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/abbrev.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; abbrev.el --- abbrev mode commands for Emacs -;; Copyright (C) 1985-1991 Free Software Foundation, Inc. +;; Maintainer: FSF +;; Last-Modified: 09 Jul 1992 + +;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defconst only-global-abbrevs nil "\ *t means user plans to use global abbrevs only. @@ -152,7 +156,7 @@ (read-abbrev-file file t)) (defun write-abbrev-file (file) - "Write all abbrev definitions to file of Lisp code. + "Write all abbrev definitions to a file of Lisp code. The file written can be loaded in another session to define the same abbrevs. The argument FILE is the file name to write." (interactive @@ -160,7 +164,6 @@ (read-file-name "Write abbrev file: " (file-name-directory (expand-file-name abbrev-file-name)) abbrev-file-name))) - (interactive "FWrite abbrev file: ") (or (and file (> (length file) 0)) (setq file abbrev-file-name)) (save-excursion