summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-06-22 23:02:56 +0200
committerUlrich Müller <ulm@gentoo.org>2018-06-22 23:02:56 +0200
commitd7f5c16a79030373602145de8bc23ef6f9e62ed7 (patch)
tree0935965cbfe0705d0deb01514a2aea5327ba2ee5
parentFix line breaks in GLEP footer. (diff)
downloadebuild-mode-d7f5c16a79030373602145de8bc23ef6f9e62ed7.tar.gz
ebuild-mode-d7f5c16a79030373602145de8bc23ef6f9e62ed7.tar.bz2
ebuild-mode-d7f5c16a79030373602145de8bc23ef6f9e62ed7.zip
Update keywords for EAPI 7.
* ebuild-mode-keywords.el (ebuild-mode-keywords-eapi-deprecated) (ebuild-mode-keywords-0): dolib and libopts are deprecated. (ebuild-mode-keywords-eapi7): New variable for EAPI 7 commands.
-rw-r--r--ChangeLog6
-rw-r--r--ebuild-mode-keywords.el22
2 files changed, 19 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index a08a5f8..6b13d77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-06-22 Ulrich Müller <ulm@gentoo.org>
+
+ * ebuild-mode-keywords.el (ebuild-mode-keywords-eapi-deprecated)
+ (ebuild-mode-keywords-0): dolib and libopts are deprecated.
+ (ebuild-mode-keywords-eapi7): New variable for EAPI 7 commands.
+
2018-06-05 Ulrich Müller <ulm@gentoo.org>
* glep-mode.el (glep-mode-insert-skeleton): Fold lines as in the
diff --git a/ebuild-mode-keywords.el b/ebuild-mode-keywords.el
index 07cd752..3bced58 100644
--- a/ebuild-mode-keywords.el
+++ b/ebuild-mode-keywords.el
@@ -34,13 +34,13 @@
(defvar ebuild-mode-keywords-0
'(("assert" "best_version" "debug-print" "debug-print-function"
"debug-print-section" "die" "diropts" "dobin" "docinto" "doconfd" "dodir"
- "dodoc" "doenvd" "doexe" "doinfo" "doinitd" "doins" "dolib" "dolib.a"
- "dolib.so" "doman" "domo" "dosbin" "dosym" "ebegin" "econf" "eend"
- "eerror" "einfo" "einfon" "elog" "emake" "ewarn" "exeinto" "exeopts"
- "fowners" "fperms" "has" "hasv" "has_version" "inherit" "insinto"
- "insopts" "into" "keepdir" "libopts" "newbin" "newconfd" "newdoc"
- "newenvd" "newexe" "newinitd" "newins" "newlib.a" "newlib.so" "newman"
- "newsbin" "unpack" "use" "usev" "use_enable" "use_with")
+ "dodoc" "doenvd" "doexe" "doinfo" "doinitd" "doins" "dolib.a" "dolib.so"
+ "doman" "domo" "dosbin" "dosym" "ebegin" "econf" "eend" "eerror" "einfo"
+ "einfon" "elog" "emake" "ewarn" "exeinto" "exeopts" "fowners" "fperms"
+ "has" "hasv" "has_version" "inherit" "insinto" "insopts" "into" "keepdir"
+ "newbin" "newconfd" "newdoc" "newenvd" "newexe" "newinitd" "newins"
+ "newlib.a" "newlib.so" "newman" "newsbin" "unpack" "use" "usev"
+ "use_enable" "use_with")
font-lock-type-face))
(defvar ebuild-mode-keywords-EAPI
@@ -60,6 +60,10 @@
'(("eapply" "eapply_user" "einstalldocs" "get_libdir" "in_iuse")
font-lock-type-face))
+(defvar ebuild-mode-keywords-eapi7
+ '(("dostrip" "eqawarn" "ver_cut" "ver_rs" "ver_test")
+ font-lock-type-face))
+
(defvar ebuild-mode-keywords-functions
'(("pkg_nofetch" "pkg_setup" "src_unpack" "src_compile" "src_test"
"src_install" "pkg_preinst" "pkg_postinst" "pkg_prerm" "pkg_postrm"
@@ -86,8 +90,8 @@
(defvar ebuild-mode-keywords-eapi-deprecated
;; deprecated or banned package manager commands
- '(("dohard" "dohtml" "dosed" "einstall" "hasq" "prepalldocs" "prepall"
- "prepallinfo" "prepallman" "prepallstrip" "useq")
+ '(("dohard" "dohtml" "dolib" "dosed" "einstall" "hasq" "libopts"
+ "prepalldocs" "prepall" "prepallinfo" "prepallman" "prepallstrip" "useq")
font-lock-warning-face))
;; Eclass keywords