Skip to content

Commit e391581

Browse files
phstjrblevin
authored andcommitted
Fix customization types
Fixes #254
1 parent 449a00d commit e391581

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

markdown-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ For example, a standalone Markdown previewer. This command will
10491049
be called with a single argument: the filename of the current
10501050
buffer."
10511051
:group 'markdown
1052-
:type 'string)
1052+
:type '(choice file (const :tag "None" nil)))
10531053

10541054
(defcustom markdown-hr-strings
10551055
'("-------------------------------------------------------------------------------"
@@ -1064,7 +1064,7 @@ horizontal rule. Strings should be listed in decreasing order of
10641064
prominence (as in headings from level one to six) for use with
10651065
promotion and demotion functions."
10661066
:group 'markdown
1067-
:type 'list)
1067+
:type '(repeat string))
10681068

10691069
(defcustom markdown-bold-underscore nil
10701070
"Use two underscores when inserting bold text instead of two asterisks."
@@ -1169,7 +1169,7 @@ cause lag when typing on slower machines."
11691169
"telnet" "tip" "urn" "vemmi" "wais")
11701170
"Link types for syntax highlighting of URIs."
11711171
:group 'markdown
1172-
:type 'list)
1172+
:type '(repeat (string :tag "URI scheme")))
11731173

11741174
(defcustom markdown-url-compose-char
11751175
(cond

0 commit comments

Comments
 (0)