;;; -*- lexical-binding: t -*- ;; ;; this file: ;; https://dataswamp.org/~incal/emacs-init/counter-simple.el (let ((count 0)) (defun counter-simple-add () (interactive) (setq count (1+ count)))) (declare-function counter-simple-add nil) ;; (counter-simple-add) ; 1, 2, 3 ... (provide 'counter-simple)