소스 검색

org-compat: Silence byte-compiler

Nicolas Goaziou 8 년 전
부모
커밋
beb940cf56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/org-compat.el

+ 1 - 1
lisp/org-compat.el

@@ -412,7 +412,7 @@ Implements `define-error' for older emacsen."
     (put name 'error-conditions
 	 (copy-sequence (cons name (get 'error 'error-conditions))))))
 
-(unless (fboundp 'string-prefix-p)
+(unless (fboundp 'string-suffix-p)
   ;; From Emacs subr.el.
   (defun string-prefix-p (prefix string &optional ignore-case)
     "Return non-nil if PREFIX is a prefix of STRING.