From 51a8faad74016ab7d2f29418caa9fd9984be93a9 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 29 Oct 2021 16:06:32 -0700 Subject: chore(wpcarro/emacs): Remove tests from buffer.el More cleaning... Change-Id: I4ff450879f0cda9b3a8e8dab61519a4d8c342c91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4800 Tested-by: BuildkiteCI Reviewed-by: wpcarro Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/wpc/buffer.el | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'users/wpcarro') diff --git a/users/wpcarro/emacs/.emacs.d/wpc/buffer.el b/users/wpcarro/emacs/.emacs.d/wpc/buffer.el index 098d499e39d3..d9503e0d1faa 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/buffer.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/buffer.el @@ -38,9 +38,6 @@ ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defconst buffer-enable-tests? t - "When t, run the test suite.") - (defconst buffer-install-kbds? t "When t, install the keybindings defined herein.") @@ -187,23 +184,5 @@ This function ignores Emacs-generated buffers, i.e. the ones that look like "" #'buffer-show-previous "k" #'kill-buffer)) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Tests -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(when buffer-enable-tests? - (prelude-assert - (list-all? #'buffer-emacs-generated? - '("*scratch*" - "*Messages*" - "*shell*" - "*Shell Command Output*" - "*Occur*" - "*Warnings*" - "*Help*" - "*Completions*" - "*Apropos*" - "*info*")))) - (provide 'buffer) ;;; buffer.el ends here -- cgit 1.4.1