summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/skeleton.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index 4425bb0389a..a49fbdcd954 100644
--- a/lisp/skeleton.el
+++ b/lisp/skeleton.el
@@ -355,7 +355,7 @@ automatically, and you are prompted to fill in the variable parts.")))
(defun skeleton-internal-1 (element &optional literal recursive)
(cond
- ((char-or-string-p element)
+ ((or (integerp element) (stringp element))
(if (and (integerp element) ; -num
(< element 0))
(if skeleton-untabify