Skip to content

Commit

Permalink
give wiki-link variables safety annotations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Christophe Rhodes committed Sep 10, 2015
1 parent 21fa6e4 commit 2301d2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2301d2c

Please sign in to comment.