[127638] trunk/dports/editors/n3-mode.el/Portfile
larryv at macports.org
larryv at macports.org
Thu Oct 30 19:21:33 PDT 2014
Revision: 127638
https://trac.macports.org/changeset/127638
Author: larryv at macports.org
Date: 2014-10-30 19:21:33 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
n3-mode.el: Rewrite notes to avoid quoting hell
Modified Paths:
--------------
trunk/dports/editors/n3-mode.el/Portfile
Modified: trunk/dports/editors/n3-mode.el/Portfile
===================================================================
--- trunk/dports/editors/n3-mode.el/Portfile 2014-10-31 02:08:38 UTC (rev 127637)
+++ trunk/dports/editors/n3-mode.el/Portfile 2014-10-31 02:21:33 UTC (rev 127638)
@@ -30,15 +30,16 @@
${destroot}${prefix}/share/emacs/site-lisp
}
-notes "To use add the following to your ~/.emacs:\n\
-\n\
-(autoload 'n3-mode \"n3-mode\" \"Major mode for OWL or N3 files\" t)\n\
-\n\
-(add-hook 'n3-mode-hook 'turn-on-font-lock)\n\
-(setq auto-mode-alist\n\
-\ (append\n\
-\ \ (list\n\
-\ \ \'(\"\\\\.n3\" . n3-mode)\n\
-\ \ \'(\"\\\\.owl\" . n3-mode))\n\
-\ \ \ auto-mode-alist))"
+notes {
+To use add the following to your ~/.emacs:
+(autoload 'n3-mode "n3-mode" "Major mode for OWL or N3 files" t)
+
+(add-hook 'n3-mode-hook 'turn-on-font-lock)
+(setq auto-mode-alist
+ (append
+ (list
+ '("\\.n3" . n3-mode)
+ '("\\.owl" . n3-mode))
+ auto-mode-alist))
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/fb9a2bdd/attachment-0001.html>
More information about the macports-changes
mailing list