# HG changeset patch # User Oleksandr Gavenko # Date 1264455310 -7200 # Node ID 2f3ac763c340d4f661a772c4fe18bc50a2bf4db0 # Parent 51a386bc16b2700344d01b0d0c88cef0f373f043 Make docs headers according to 'Conventional Headers for Emacs Libraries'. diff -r 51a386bc16b2 -r 2f3ac763c340 template-pre/iar-linker-config-mode.el --- a/template-pre/iar-linker-config-mode.el Sun Jan 24 13:18:40 2010 +0200 +++ b/template-pre/iar-linker-config-mode.el Mon Jan 25 23:35:10 2010 +0200 @@ -1,4 +1,21 @@ +;;; iar-linker-config-mode.el --- major mode for highlighting IAR Embedded Workbench 5.x linker scripts + ;; DO NOT EDIT COMMENT! TAG: iar-linker-config-mode + +;; Copyright (C) 2009, 2010 by Oleksandr Gavenko + +;; Author: Oleksandr Gavenko +;; Maintainer: Oleksandr Gavenko +;; Created: 2009-11-08 +;; Version: 0.1 +;; Keywords: languages + +;;; Commentary: +;; +;; Very pure highlighting and not all available syntax. + +;;; Code: + (define-generic-mode iar-linker-config-mode '("// " ("/*" . "*/")) '("zeroinit" "code" "readwrite" "rw" "readonly" "ro") @@ -47,3 +64,4 @@ (lambda () (setq comment-start "/* " comment-end " */")) ) "Generic mode for iar linker config files.") +;;; iar-linker-config-mode.el ends here diff -r 51a386bc16b2 -r 2f3ac763c340 template-pre/iar4-linker-config-mode.el --- a/template-pre/iar4-linker-config-mode.el Sun Jan 24 13:18:40 2010 +0200 +++ b/template-pre/iar4-linker-config-mode.el Mon Jan 25 23:35:10 2010 +0200 @@ -1,4 +1,21 @@ +;;; iar-linker-config-mode.el --- major mode for highlighting IAR Embedded Workbench 4.x linker scripts + ;; DO NOT EDIT COMMENT! TAG: iar4-linker-config-mode + +;; Copyright (C) 2009, 2010 by Oleksandr Gavenko + +;; Author: Oleksandr Gavenko +;; Maintainer: Oleksandr Gavenko +;; Created: 2009-11-04 +;; Version: 0.1 +;; Keywords: languages + +;;; Commentary: +;; +;; Very pure highlighting and not all available syntax. + +;;; Code: + (define-generic-mode iar4-linker-config-mode '("// " ("/*" . "*/")) nil @@ -29,3 +46,4 @@ (lambda () (setq comment-start "// " comment-end "")) ) "Generic mode for iar linker config files.") +;;; iar4-linker-config-mode.el ends here diff -r 51a386bc16b2 -r 2f3ac763c340 template-pre/nsis-mode.el --- a/template-pre/nsis-mode.el Sun Jan 24 13:18:40 2010 +0200 +++ b/template-pre/nsis-mode.el Mon Jan 25 23:35:10 2010 +0200 @@ -1,4 +1,21 @@ +;;; iar-linker-config-mode.el --- major mode for highlighting NSIS scripts + ;; DO NOT EDIT COMMENT! TAG: nsis-mode + +;; Copyright (C) 2009, 2010 by Oleksandr Gavenko + +;; Author: Oleksandr Gavenko +;; Maintainer: Oleksandr Gavenko +;; Created: 2009-09-14 +;; Version: 0.1 +;; Keywords: languages + +;;; Commentary: +;; +;; Very pure syntax highlighting. + +;;; Code: + (when (eq window-system 'w32) (define-generic-mode 'nsis-generic-mode (list ?\;)