add-hooks
aware of use-package?
is-savable-buffer-p
-p
suffix already means a predicate, you don’t need is-
also, let
evals all bindings, while and
is a short-circuit thing, I don’t see any reasons to bind all these, especially is-file-buffer
defvar
most of these look like user-customizable variables, so defcustom
should fit better
(when (when
an antipattern, use and
#'(lambda
don’t
also, avoid using lambdas in hooks
defmacro
never ever use macros if a function can do the job
P.S. flycheck-package
is your friend
it’s not a command, it’s a defcustom