summaryrefslogtreecommitdiffstats
path: root/extras/emacs/plugin.el
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-10-01 12:10:57 -0400
committerDave Barach <openvpp@barachs.net>2019-10-03 16:52:38 +0000
commit4ec6f6bc7788f3c356a022ea5fd019ca4e815747 (patch)
tree2c5fc0c053d1d7e3038fa49236b54c5a9cdaffec /extras/emacs/plugin.el
parentd570c4d18df404cb59ef72d20d56f8e31418c8e9 (diff)
emacs: track improvements in vppapigen
Remove boilerplate which is now generated by vppapigen Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I36bff1a651ac48caa969ed76d963b0a733ef5532
Diffstat (limited to 'extras/emacs/plugin.el')
-rw-r--r--extras/emacs/plugin.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/extras/emacs/plugin.el b/extras/emacs/plugin.el
index 4d7333c5051..42591c4b6f5 100644
--- a/extras/emacs/plugin.el
+++ b/extras/emacs/plugin.el
@@ -21,7 +21,7 @@
(makunbound 'PLUGIN-NAME)
(makunbound 'plugin-flavor)
(setq plugin-name (read-string "Plugin name: "))
- (setq plugin-flavor
+ (setq plugin-flavor
(read-string "Dispatch type [dual or qs]: "))
(setq PLUGIN-NAME (upcase plugin-name))
(setq cmd-args (concat "mkdir -p " plugin-name))
@@ -32,14 +32,10 @@
(skel-plugin-cmakelists-text-fragment)
(find-file (concat plugin-name ".api"))
(skel-plugin-api)
- (find-file (concat plugin-name "_all_api_h.h"))
- (skel-plugin-all-apih)
(find-file (concat plugin-name ".h"))
(skel-plugin-h)
(find-file (concat plugin-name ".c"))
(skel-plugin-main)
- (find-file (concat plugin-name "_msg_enum.h"))
- (skel-plugin-msg-enum)
(find-file "node.c")
(if (string= plugin-flavor "qs")
(skel-plugin-qsnode) (skel-plugin-node))
@@ -50,4 +46,3 @@
(find-file "setup.pg")
(skel-plugin-setup)
(cd start-dir))))
-