diff options
author | Dave Barach <dave@barachs.net> | 2016-08-05 18:09:54 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-08-05 18:10:06 -0400 |
commit | a8d77eda738855480c3028664028c7a448d52424 (patch) | |
tree | c3e30344155ab5aef053e2dd57bc89bb1349bda3 /build-root | |
parent | 310f7fe7a60467569f9d62d97847bc36dd5eb4ca (diff) |
VPP-237 Coding standards cleanup
Change-Id: I239143f920285050ad85244ece6893236195534f
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-root')
-rwxr-xr-x | build-root/emacs-lisp/fix-coding-style.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/build-root/emacs-lisp/fix-coding-style.el b/build-root/emacs-lisp/fix-coding-style.el index 6010ac28..d79f2d99 100755 --- a/build-root/emacs-lisp/fix-coding-style.el +++ b/build-root/emacs-lisp/fix-coding-style.el @@ -68,6 +68,8 @@ (defun fix-vlib-register-node () (interactive) (fix-initializer "VLIB_REGISTER_NODE *(")) +(defun fix-reply-macro2 () (interactive) + (fix-initializer "REPLY_MACRO2 *(")) ;; Driver routine which runs the set of functions ;; defined above, as well as the bottom boilerplate function @@ -83,6 +85,7 @@ (fix-vlib-register-thread) (fix-vlib-cli-command) (fix-vlib-register-node) + (fix-reply-macro2) (insert-style-boilerplate)) @@ -99,5 +102,8 @@ (message "Processing %s..." (elt argv index)) (find-file (elt argv index)) (fd-io-styleify) - (setq index (1+ index)) - (save-buffers-kill-emacs t)))) + (setq index (1+ index)))) + (if (> index 0) + (save-buffers-kill-emacs t))) + + |