Commit 9fb0c6b1 authored by Rüdiger Sonderfeld's avatar Rüdiger Sonderfeld

Convert integer :builtin to string and warn user.

Signed-off-by: 's avatarRüdiger Sonderfeld <>
parent 2c312205
......@@ -177,6 +177,9 @@ return 'builtin."
(builtin (plist-get def :builtin)))
(when (integerp builtin)
(warn "Integer argument for :builtin is obsolete. Use strings instead.")
(setq builtin (number-to-string builtin)))
(if (and builtin (version<= builtin emacs-version))
(plist-get def :type))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment