summaryrefslogtreecommitdiff
path: root/lisp/skeleton.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/skeleton.el')
-rw-r--r--lisp/skeleton.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index 8ae3a1b6619..6d06c72764c 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