diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-13 14:17:00 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-13 14:17:00 +0100 |
commit | 61c8903c87bb7cd288fa996e338ccf8f8050a328 (patch) | |
tree | 3c09b62717124aaa6b3167d10e9042b964f078d4 | |
parent | 2a7a4a65adbb1e211363ff43cd82ebd348598de7 (diff) | |
download | org-mode-61c8903c87bb7cd288fa996e338ccf8f8050a328.tar.gz |
Fix failing tests
* lisp/org-compat.el (org-string-collate-lessp): Reinstate function,
inadvertently removed in last merge with maint branch.
-rw-r--r-- | lisp/org-compat.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index af2ef02..9757522 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -87,6 +87,12 @@ (and (memq system-type '(windows-nt ms-dos)) (= lastc ?\\)))))) +;; `string-collate-lessp' is new in Emacs 25. +(defalias 'org-string-collate-lessp + (if (fboundp 'string-collate-lessp) + 'string-collate-lessp + 'string-lessp)) + ;;; Obsolete aliases (remove them after the next major release). |