-;; bib-mode, major mode for editing bib files.
+;;; bib-mode.el --- bib-mode, major mode for editing bib files.
+
;; Copyright (C) 1989 Free Software Foundation, Inc.
+;; Maintainer: FSF
+;; Keywords: bib
+
;; 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,
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; Commentary:
-;; Bib-Mode
;; GNU Emacs code to help maintain databases compatible with (troff)
;; refer and lookbib. The file bib-file should be set to your
;; bibliography file. Keys are automagically inserted as you type,
;; and appropriate keys are presented for various kinds of entries.
-(provide 'bib-mode)
+;;; Code:
(defvar bib-file "~/my-bibliography.bib"
"Default name of file used by `addbib'.")
(insert s)
(capitalize-title-region (point-min) (point-max))
(buffer-string)))
+
+(provide 'bib-mode)
+
+;;; bib-mode.el ends here