about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-08 17:21:11 -0500
committerCase Duckworth2021-10-08 17:21:11 -0500
commit21fa2d07117280f9a0cb6dff42d227a23cdc1b56 (patch)
tree23daae1c98d606593aa3c6eb928a609c9e6717ea
parentDon't load custom fonts from custom.el (diff)
downloademacs-21fa2d07117280f9a0cb6dff42d227a23cdc1b56.tar.gz
emacs-21fa2d07117280f9a0cb6dff42d227a23cdc1b56.zip
Handle nil
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el index 8ec369a..b376d55 100644 --- a/init.el +++ b/init.el
@@ -560,7 +560,7 @@
560 "Return t if at least one regex in RETGEXP-LIST matches STRING, else nil." 560 "Return t if at least one regex in RETGEXP-LIST matches STRING, else nil."
561 ;; FINE alphapapa ;P 561 ;; FINE alphapapa ;P
562 (seq-some (lambda (regexp) 562 (seq-some (lambda (regexp)
563 (string-match regexp string)) 563 (string-match regexp (or string "")))
564 regexp-list)) 564 regexp-list))
565 565
566 (defun flymake-unless () 566 (defun flymake-unless ()