summaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
Diffstat (limited to 'build-root')
-rwxr-xr-xbuild-root/emacs-lisp/fix-coding-style.el10
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 6010ac28244..d79f2d99c52 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)))
+
+