summaryrefslogtreecommitdiff
path: root/lisp/skeleton.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-09-07 02:14:55 +0000
committerKenichi Handa <handa@m17n.org>2007-09-07 02:14:55 +0000
commitdb08e41d23e62a2eb44f044ae050a6967b2937db (patch)
tree3793ddbde637b8b0e964c4670598fa7854eee7ec /lisp/skeleton.el
parent8d25d881a0a8461da419e09cfd277c4df2df2d82 (diff)
downloademacs-db08e41d23e62a2eb44f044ae050a6967b2937db.tar.gz
(skeleton-internal-1): Use integerp and stringp
instead of char-or-string-p to catch -1.
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 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