OSDN Git Service

update docs for 1.4.8
[howm/howm.git] / howm-vars.el
index 991d453..5a3a51f 100644 (file)
@@ -1,5 +1,5 @@
 ;;; howm-vars.el --- Wiki-like note-taking tool
-;;; Copyright (C) 2005-2018
+;;; Copyright (C) 2005-2021
 ;;;   HIRAOKA Kazuyuki <khi@users.osdn.me>
 ;;;
 ;;; This program is free software; you can redistribute it and/or modify
@@ -248,7 +248,7 @@ A file is excluded iff this regexp matches with all the relative paths."
           (ret 'en))
       (mapc (lambda (rule)
               (if (or (string= lang (cadr rule))
-                      (string-match (caddr rule) locale))
+                      (string-match (cl-caddr rule) locale))
                   (setq ret (car rule))))
             lang-table)
       ret))