From 4572ff7cb8e96f31789c463b2783a69243f1589e Mon Sep 17 00:00:00 2001 From: James Bunton Date: Wed, 20 Jul 2016 10:07:19 +1000 Subject: [PATCH] fixed warning --- lisp/my-defuns.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/my-defuns.el b/lisp/my-defuns.el index 7404164..a409738 100644 --- a/lisp/my-defuns.el +++ b/lisp/my-defuns.el @@ -1,3 +1,5 @@ +(require 'cl-lib) + (defun copy-line (arg) "Copy lines in the kill ring" (interactive "p") @@ -24,7 +26,7 @@ (dolist (buffer (buffer-list)) (if (not (get-buffer-window buffer t)) (if (kill-buffer-if-not-modified buffer) - (incf kill-count)))) + (cl-incf kill-count)))) (message "Killed %d buffers" kill-count))) (defun open-line-above () -- 2.39.2