summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-05-14 14:49:30 +0200
committerMichael Weber <xmw@gentoo.org>2017-05-14 14:49:30 +0200
commitcac892e538e86aae4fac4c601bfda015c5a93494 (patch)
treedf4f9c0541ca361e8a224e68a779ca93ef373277 /media-gfx/openscad/files
parentmedia-sound/jaaa: add ~ppc keyword (bug 546082). (diff)
downloadgentoo-cac892e538e86aae4fac4c601bfda015c5a93494.tar.gz
gentoo-cac892e538e86aae4fac4c601bfda015c5a93494.tar.bz2
gentoo-cac892e538e86aae4fac4c601bfda015c5a93494.zip
media-gfx/openscad: Add emacs mode, thanks Emery Hemingway for the ebuild (bug 492220).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-gfx/openscad/files')
-rw-r--r--media-gfx/openscad/files/50openscad-gentoo.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/50openscad-gentoo.el b/media-gfx/openscad/files/50openscad-gentoo.el
new file mode 100644
index 000000000000..3cc7c1a7c46f
--- /dev/null
+++ b/media-gfx/openscad/files/50openscad-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'scad-mode "scad-mode" "Major mode for editing SCAD code." t)
+(add-to-list 'auto-mode-alist '("\\.scad$" . scad-mode))