comparison lisp/modes/bib-mode.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
3 ;; Copyright (C) 1989 Free Software Foundation, Inc. 3 ;; Copyright (C) 1989 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 XEmacs.
9 9
10 ;; GNU Emacs is free software; you can redistribute it and/or modify 10 ;; XEmacs is free software; you can redistribute it and/or modify it
11 ;; it under the terms of the GNU General Public License as published by 11 ;; under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option) 12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version. 13 ;; any later version.
14 14
15 ;; GNU Emacs is distributed in the hope that it will be useful, 15 ;; XEmacs is distributed in the hope that it will be useful, but
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ;; GNU General Public License for more details. 18 ;; 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 21 ;; along with XEmacs; see the file COPYING. If not, write to the Free
22 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 23 ;; 02111-1307, USA.
24 ;;; Synched up with: FSF 19.30. 24
25 ;;; Synched up with: FSF 19.34.
25 26
26 ;;; Commentary: 27 ;;; Commentary:
27 28
28 ;; GNU Emacs code to help maintain databases compatible with (troff) 29 ;; GNU Emacs code to help maintain databases compatible with (troff)
29 ;; refer and lookbib. The file bib-file should be set to your 30 ;; refer and lookbib. The file bib-file should be set to your
198 199
199 (defvar capitalize-title-stop-words 200 (defvar capitalize-title-stop-words
200 (concat 201 (concat
201 "the\\|and\\|of\\|is\\|a\\|an\\|of\\|for\\|in\\|to\\|in\\|on\\|at\\|" 202 "the\\|and\\|of\\|is\\|a\\|an\\|of\\|for\\|in\\|to\\|in\\|on\\|at\\|"
202 "by\\|with\\|that\\|its") 203 "by\\|with\\|that\\|its")
203 "Words not to be capitialized in a title (unless they're the first word 204 "Words not to be capitalized in a title (unless they're the first word
204 in the title).") 205 in the title).")
205 206
206 (defvar capitalize-title-stop-regexp 207 (defvar capitalize-title-stop-regexp
207 (concat "\\(" capitalize-title-stop-words "\\)\\(\\b\\|'\\)")) 208 (concat "\\(" capitalize-title-stop-words "\\)\\(\\b\\|'\\)"))
208 209