Mercurial > emacs
comparison lisp/textmodes/bib-mode.el @ 88155:d7ddb3e565de
sync with trunk
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Mon, 16 Jan 2006 00:03:54 +0000 |
parents | 5ade352e8d1c |
children |
comparison
equal
deleted
inserted
replaced
88154:8ce476d3ba36 | 88155:d7ddb3e565de |
---|---|
1 ;;; bib-mode.el --- major mode for editing bib files | 1 ;;; bib-mode.el --- major mode for editing bib files |
2 | 2 |
3 ;; Copyright (C) 1989 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Maintainer: FSF | 5 ;; Maintainer: FSF |
6 ;; Keywords: bib | 6 ;; Keywords: bib |
7 | 7 |
8 ;; This file is part of GNU Emacs. | 8 ;; This file is part of GNU Emacs. |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 ;; GNU General Public License for more details. | 18 ;; GNU General Public License for more details. |
19 | 19 |
20 ;; You should have received a copy of the GNU General Public License | 20 ;; You should have received a copy of the GNU General Public License |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | 21 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 ;; Boston, MA 02111-1307, USA. | 23 ;; Boston, MA 02110-1301, USA. |
24 | 24 |
25 ;;; Commentary: | 25 ;;; Commentary: |
26 | 26 |
27 ;; GNU Emacs code to help maintain databases compatible with (troff) | 27 ;; GNU Emacs code to help maintain databases compatible with (troff) |
28 ;; refer and lookbib. The file bib-file should be set to your | 28 ;; refer and lookbib. The file bib-file should be set to your |
32 ;;; Code: | 32 ;;; Code: |
33 | 33 |
34 (defgroup bib nil | 34 (defgroup bib nil |
35 "Major mode for editing bib files." | 35 "Major mode for editing bib files." |
36 :prefix "bib-" | 36 :prefix "bib-" |
37 :group 'external | |
37 :group 'wp) | 38 :group 'wp) |
38 | 39 |
39 (defcustom bib-file "~/my-bibliography.bib" | 40 (defcustom bib-file "~/my-bibliography.bib" |
40 "Default name of file used by `addbib'." | 41 "Default name of file used by `addbib'." |
41 :type 'file | 42 :type 'file |
233 (bib-capitalize-title-region (point-min) (point-max)) | 234 (bib-capitalize-title-region (point-min) (point-max)) |
234 (buffer-string))) | 235 (buffer-string))) |
235 | 236 |
236 (provide 'bib-mode) | 237 (provide 'bib-mode) |
237 | 238 |
239 ;;; arch-tag: e3a97958-3c2c-487f-9557-fafc3c98452d | |
238 ;;; bib-mode.el ends here | 240 ;;; bib-mode.el ends here |