org-compat: Silence byte-compiler
This commit is contained in:
parent
7a14bd172c
commit
beb940cf56
|
@ -412,7 +412,7 @@ Implements `define-error' for older emacsen."
|
||||||
(put name 'error-conditions
|
(put name 'error-conditions
|
||||||
(copy-sequence (cons name (get 'error 'error-conditions))))))
|
(copy-sequence (cons name (get 'error 'error-conditions))))))
|
||||||
|
|
||||||
(unless (fboundp 'string-prefix-p)
|
(unless (fboundp 'string-suffix-p)
|
||||||
;; From Emacs subr.el.
|
;; From Emacs subr.el.
|
||||||
(defun string-prefix-p (prefix string &optional ignore-case)
|
(defun string-prefix-p (prefix string &optional ignore-case)
|
||||||
"Return non-nil if PREFIX is a prefix of STRING.
|
"Return non-nil if PREFIX is a prefix of STRING.
|
||||||
|
|
Loading…
Reference in New Issue