diff options
author | Case Duckworth | 2021-10-08 17:21:11 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-08 17:21:11 -0500 |
commit | 21fa2d07117280f9a0cb6dff42d227a23cdc1b56 (patch) | |
tree | 23daae1c98d606593aa3c6eb928a609c9e6717ea | |
parent | Don't load custom fonts from custom.el (diff) | |
download | emacs-21fa2d07117280f9a0cb6dff42d227a23cdc1b56.tar.gz emacs-21fa2d07117280f9a0cb6dff42d227a23cdc1b56.zip |
Handle nil
-rw-r--r-- | init.el | 2 |
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 () |