summaryrefslogtreecommitdiff
path: root/contrib/scad-mode.el
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-07-13 19:08:46 (GMT)
committerMarius Kintel <marius@kintel.net>2012-07-13 19:08:46 (GMT)
commit1395af1101ab7d5b521bd152f1c883df72250add (patch)
treec275cd5d32146d39cbe7507e1b4c6cf2b1d99f47 /contrib/scad-mode.el
parente1fe9a33a6f078d2e3f9e2a7393c4a1b177b801b (diff)
parent38a4585d1a9abe9c779c5d0677bfc81c407db371 (diff)
Merge branch 'master' into version_check
Diffstat (limited to 'contrib/scad-mode.el')
-rw-r--r--contrib/scad-mode.el19
1 files changed, 14 insertions, 5 deletions
diff --git a/contrib/scad-mode.el b/contrib/scad-mode.el
index e3eee0d..5961b08 100644
--- a/contrib/scad-mode.el
+++ b/contrib/scad-mode.el
@@ -4,8 +4,9 @@
;; Maintainer: Len Trigg <lenbok@gmail.com>
;; Created: March 2010
;; Modified: 06 July 2012
+;; Keywords: languages
;; URL: https://raw.github.com/openscad/openscad/master/contrib/scad-mode.el
-;; Version: $Revision: 89 $
+;; Version: 90.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -24,19 +25,27 @@
;;; Commentary:
;;
-;; This is a separate mode to implement the SCAD constructs and
-;; font-locking.
+;; This is a major-mode to implement the SCAD constructs and
+;; font-locking for openscad
;;
-;; To use, insert the following into your emacs startup:
+;; If installing manually, insert the following into your emacs startup:
;;
;; (autoload 'scad-mode "scad-mode" "Major mode for editing SCAD code." t)
;; (add-to-list 'auto-mode-alist '("\\.scad$" . scad-mode))
+;;
+;; or
+;;
+;; install from marmalade: http://marmalade-repo.org/
+;; M-x install-package <ENTER> scad-mode <ENTER>
+
;;; To Do:
;; - Support for background/debug/root/disable modifiers
;; - Font lock of non-built-in function calls
-;;; Autoload mode trigger
+;;; Code:
+
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.scad$" . scad-mode))
(defcustom scad-command
contact: Jan Huwald // Impressum