[91150] trunk/dports/editors/yaml-mode.el/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Mar 23 22:44:03 PDT 2012


Revision: 91150
          https://trac.macports.org/changeset/91150
Author:   ryandesign at macports.org
Date:     2012-03-23 22:44:03 -0700 (Fri, 23 Mar 2012)
Log Message:
-----------
yaml-mode.el: convert post-activate ui_msgs to notes

Modified Paths:
--------------
    trunk/dports/editors/yaml-mode.el/Portfile

Modified: trunk/dports/editors/yaml-mode.el/Portfile
===================================================================
--- trunk/dports/editors/yaml-mode.el/Portfile	2012-03-24 05:43:38 UTC (rev 91149)
+++ trunk/dports/editors/yaml-mode.el/Portfile	2012-03-24 05:44:03 UTC (rev 91150)
@@ -38,12 +38,12 @@
 
 destroot.args    PREFIX=${destroot}${prefix}
 
-post-activate {
-    ui_msg "To use this mode, put the following in your ~/.emacs:"
-    ui_msg "(require 'yaml-mode)"
-    ui_msg ""
-    ui_msg "To automatically handle files ending in '.yaml, add something"
-    ui_msg "like:"
-    ui_msg ""
-    ui_msg "(add-to-list 'auto-mode-alist '(\"\\\\.yaml$\" . yaml-mode))"
-}
+notes "
+To use this mode, put the following in your ~/.emacs:
+
+(require 'yaml-mode)
+
+To automatically handle files ending in '.yaml, add something like:
+
+(add-to-list 'auto-mode-alist '(\"\\\\.yaml$\" . yaml-mode))
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120323/224cd56b/attachment.html>


More information about the macports-changes mailing list