From a8d77eda738855480c3028664028c7a448d52424 Mon Sep 17 00:00:00 2001
From: Dave Barach <dave@barachs.net>
Date: Fri, 5 Aug 2016 18:09:54 -0400
Subject: VPP-237 Coding standards cleanup

Change-Id: I239143f920285050ad85244ece6893236195534f
Signed-off-by: Dave Barach <dave@barachs.net>
---
 build-root/emacs-lisp/fix-coding-style.el | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'build-root/emacs-lisp')

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)))
+  
+
-- 
cgit