From 2301d2c11d58726580dc74b124ae7ac611989e34 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Thu, 10 Sep 2015 16:36:39 +0100 Subject: [PATCH] give wiki-link variables safety annotations these wiki-link variables are potentially customized per-file or per-project (in e.g. a .dir-locals.el file). Specify that they are `safe' to have boolean values. --- markdown-mode.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/markdown-mode.el b/markdown-mode.el index 5c3ed376..0210df30 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -893,13 +893,15 @@ auto-indentation by pressing \\[newline-and-indent]." "When non-nil, treat aliased wiki links like [[alias text|PageName]]. Otherwise, they will be treated as [[PageName|alias text]]." :group 'markdown - :type 'boolean) + :type 'boolean + :safe 'booleanp) (defcustom markdown-wiki-link-search-parent-directories nil "When non-nil, search for wiki link targets in parent directories. This is the default search behavior of Ikiwiki." :group 'markdown - :type 'boolean) + :type 'boolean + :safe 'booleanp) (defcustom markdown-uri-types '("acap" "cid" "data" "dav" "fax" "file" "ftp" "gopher" "http" "https"