From: Mattias EngdegÄrd Date: Fri, 26 May 2023 12:33:12 +0000 (+0200) Subject: ; * lisp/progmodes/project.el: avoid warning in loaddefs. X-Git-Tag: emacs-29.0.92~86 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e7c826bfa5cb7459f5b162b498af1c57c4578e6;p=emacs.git ; * lisp/progmodes/project.el: avoid warning in loaddefs. (cherry picked from commit 1eb5faa26113afe5895955a74594e3d7cf6ffe98) --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index e2112276379..617ca45ed0d 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -457,7 +457,7 @@ variables, such as `project-vc-ignores' or `project-vc-name'." :type '(repeat string) :version "29.1" :package-version '(project . "0.9.0")) -;;;###autoload(put 'project-vc-extra-root-markers 'safe-local-variable (lambda (val) (and (listp val) (cl-every #'stringp val)))) +;;;###autoload(put 'project-vc-extra-root-markers 'safe-local-variable (lambda (val) (and (listp val) (not (memq nil (mapcar #'stringp val)))))) ;; FIXME: Using the current approach, major modes are supposed to set ;; this variable to a buffer-local value. So we don't have access to