summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 6d99c6cdc76..21e277bd647 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4768,7 +4768,7 @@ Examples of version conversion:
See documentation for `version-separator' and `version-regexp-alist'."
(or (and (stringp ver) (> (length ver) 0))
- (error "Invalid version string: '%s'" ver))
+ (error "Invalid version string: ‘%s’" ver))
;; Change .x.y to 0.x.y
(if (and (>= (length ver) (length version-separator))
(string-equal (substring ver 0 (length version-separator))
@@ -4800,9 +4800,9 @@ See documentation for `version-separator' and `version-regexp-alist'."
((string-match "^[-_+ ]?\\([a-zA-Z]\\)$" s)
(push (- (aref (downcase (match-string 1 s)) 0) ?a -1)
lst))
- (t (error "Invalid version syntax: '%s'" ver))))))
+ (t (error "Invalid version syntax: ‘%s’" ver))))))
(if (null lst)
- (error "Invalid version syntax: '%s'" ver)
+ (error "Invalid version syntax: ‘%s’" ver)
(nreverse lst)))))