X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a971635315e259c076de020b3676c04d1dcc415e..ef65424de8cae00209f6a0974245822602709df3:/lisp/obsolete/scribe.el diff --git a/lisp/obsolete/scribe.el b/lisp/obsolete/scribe.el index d9d0a0feae..04dd7a9799 100644 --- a/lisp/obsolete/scribe.el +++ b/lisp/obsolete/scribe.el @@ -1,10 +1,12 @@ ;;; scribe.el --- scribe mode, and its idiosyncratic commands -;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, -;; 2006, 2007, 2008 Free Software Foundation, Inc. +;; Copyright (C) 1985, 2001-2014 Free Software Foundation, Inc. -;; Maintainer: FSF +;; Author: William Sommerfeld +;; (according to ack.texi) +;; Maintainer: emacs-devel@gnu.org ;; Keywords: wp +;; Obsolete-since: 22.1 ;; This file is part of GNU Emacs. @@ -23,8 +25,6 @@ ;;; Commentary: -;; This file has been obsolete since Emacs 22.1. - ;; A major mode for editing source in written for the Scribe text formatter. ;; Knows about Scribe syntax and standard layout rules. The command to ;; run Scribe on a buffer is bogus; someone interested should fix it. @@ -45,17 +45,17 @@ "Abbrev table used while in scribe mode.") (defcustom scribe-fancy-paragraphs nil - "*Non-nil makes Scribe mode use a different style of paragraph separation." + "Non-nil makes Scribe mode use a different style of paragraph separation." :type 'boolean :group 'scribe) (defcustom scribe-electric-quote nil - "*Non-nil makes insert of double quote use `` or '' depending on context." + "Non-nil makes insert of double quote use `` or '' depending on context." :type 'boolean :group 'scribe) (defcustom scribe-electric-parenthesis nil - "*Non-nil makes parenthesis char ( (]}> ) automatically insert its close + "Non-nil makes parenthesis char ( (]}> ) automatically insert its close if typed after an @Command form." :type 'boolean :group 'scribe) @@ -144,7 +144,9 @@ Interesting variables: (set (make-local-variable 'sentence-end) "\\([.?!]\\|@:\\)[]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") (set (make-local-variable 'compile-command) - (concat "scribe " (buffer-file-name)))) + (concat "scribe " + (if buffer-file-name + (shell-quote-argument (buffer-file-name)))))) (defun scribe-tab () (interactive) @@ -324,5 +326,4 @@ preceding text is of the form @Command." (provide 'scribe) -;; arch-tag: 64f454c4-7544-4ea2-9d14-f0b668f2cdc6 ;;; scribe.el ends here