X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/50439e197de324a5edf579813bff53de52ae6545..23a624ca1d40fa9cefd7229ac6152b79278a6517:/packages/sisu-mode/sisu-mode.el diff --git a/packages/sisu-mode/sisu-mode.el b/packages/sisu-mode/sisu-mode.el index eaf146343..9d287f1e1 100644 --- a/packages/sisu-mode/sisu-mode.el +++ b/packages/sisu-mode/sisu-mode.el @@ -1,10 +1,10 @@ -;;; sisu-mode.el --- a major-mode for highlighting a hierarchy structured text. +;;; sisu-mode.el --- Major mode for SiSU markup text ;; Copyright (C) 2011 Free Software Foundation, Inc. ;; Author: Ambrose Kofi Laing (& Ralph Amissah) ;; Keywords: text, processes, tools -;; Version: 3.0.3 2011-03-11 (2008-12-14) +;; Version: 3.0.3 ;; License: GPLv3 ;; Home URL: SiSU: http://www.jus.uio.no/sisu ;; originally looked at (based on) doc-mode, with kind permission of the author @@ -16,7 +16,7 @@ ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. -;; +;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -31,20 +31,17 @@ ;;; Commentary: -;; -;; To enter sisu-mode automatically, add (autoload 'sisu-mode "sisu-mode") -;; to your .emacs file and change the first line of your sisu file to: +;; SiSU (http://www.sisudoc.org/) is a document structuring and +;; publishing framework. This package provides an Emacs major mode +;; for SiSU markup. + +;; When this package is installed, files ending in ".sisu" are +;; automatically associated with sisu-mode. If a file doesn't have a +;; .sisu extension, add a first line: ;; # -*- Sisu -*- -;; if it doesn't have a .sisu extension. -;; -;; To handle .sisu files, e.g., 'filename.sisu', add something like -;; (add-to-list 'auto-mode-alist '("\\.sisu$" . sisu-mode)) -;; to your .emacs file -;; -;; The documentation for the "Structure Of The Hierarchy Text" can be found in -;; the sisustring for the sisu-mode function. -;; +;; The documentation for the "Structure Of The Hierarchy Text" can be +;; found in the sisustring for the sisu-mode function. ;;; Code: @@ -338,10 +335,11 @@ ;;{{{ Sisu & Autoload: -;;###autoload +;;;###autoload (define-derived-mode sisu-mode text-mode "SiSU" - "Major mode for editing SiSU files." - (interactive) + "Major mode for editing SiSU files. +SiSU (http://www.sisudoc.org/) is a document structuring and +publishing framework. This major mode handles SiSU markup." (modify-syntax-entry ?\' ".") ;(flyspell-mode nil) @@ -364,6 +362,8 @@ )) (run-hooks 'sisu-mode-hook)) +;;;###autoload (add-to-list 'auto-mode-alist '("\\.sisu\\'" . sisu-mode)) + (provide 'sisu-mode) ;;}}}