diff options
| author | Richard M. Stallman | 1995-01-18 22:12:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-18 22:12:32 +0000 |
| commit | 346169bfdcc1a50bfdb91865a75366053c239dd3 (patch) | |
| tree | 6dcea442c7d01f61955c557137da9684a2322926 | |
| parent | 22e4e580bca905f41553124e05139031268c3af6 (diff) | |
| download | emacs-346169bfdcc1a50bfdb91865a75366053c239dd3.tar.gz emacs-346169bfdcc1a50bfdb91865a75366053c239dd3.zip | |
(scribe-mode): Treat @: as a sentence end.
| -rw-r--r-- | lisp/textmodes/scribe.el | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/lisp/textmodes/scribe.el b/lisp/textmodes/scribe.el index d664292c3d1..25815121002 100644 --- a/lisp/textmodes/scribe.el +++ b/lisp/textmodes/scribe.el | |||
| @@ -5,21 +5,21 @@ | |||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: wp | 6 | ;; Keywords: wp |
| 7 | 7 | ||
| 8 | ;; This file might become part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | |||
| 10 | ;; GNU Emacs is free software; you can redistribute it and/or modify | ||
| 11 | ;; it under the terms of the GNU General Public License as published by | ||
| 12 | ;; the Free Software Foundation; either version 2, or (at your option) | ||
| 13 | ;; any later version. | ||
| 9 | 14 | ||
| 10 | ;; GNU Emacs is distributed in the hope that it will be useful, | 15 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 11 | ;; but without any warranty. No author or distributor | 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ;; accepts responsibility to anyone for the consequences of using it | 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ;; or for whether it serves any particular purpose or works at all, | 18 | ;; GNU General Public License for more details. |
| 14 | ;; unless he says so in writing. | 19 | |
| 15 | 20 | ;; You should have received a copy of the GNU General Public License | |
| 16 | ;; Everyone is granted permission to copy, modify and redistribute | 21 | ;; along with GNU Emacs; see the file COPYING. If not, write to |
| 17 | ;; GNU Emacs, but only under the conditions described in the | 22 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 | ;; document "GNU Emacs copying permission notice". An exact copy | ||
| 19 | ;; of the document is supposed to have been given to you along with | ||
| 20 | ;; GNU Emacs so that you can know how you may redistribute it all. | ||
| 21 | ;; It should be in a file named COPYING. Among other things, the | ||
| 22 | ;; copyright notice and this notice must be preserved on all copies. | ||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| @@ -138,6 +138,8 @@ scribe-electric-parenthesis | |||
| 138 | (make-local-variable 'paragraph-separate) | 138 | (make-local-variable 'paragraph-separate) |
| 139 | (setq paragraph-separate (if scribe-fancy-paragraphs | 139 | (setq paragraph-separate (if scribe-fancy-paragraphs |
| 140 | paragraph-start "^$")) | 140 | paragraph-start "^$")) |
| 141 | (make-local-variable 'sentence-end) | ||
| 142 | (setq sentence-end "\\([.?!]\\|@:\\)[]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") | ||
| 141 | (make-local-variable 'compile-command) | 143 | (make-local-variable 'compile-command) |
| 142 | (setq compile-command (concat "scribe " (buffer-file-name))) | 144 | (setq compile-command (concat "scribe " (buffer-file-name))) |
| 143 | (set-syntax-table scribe-mode-syntax-table) | 145 | (set-syntax-table scribe-mode-syntax-table) |