summaryrefslogtreecommitdiff
path: root/org-fc-compat.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-fc-compat.el')
-rw-r--r--org-fc-compat.el38
1 files changed, 38 insertions, 0 deletions
diff --git a/org-fc-compat.el b/org-fc-compat.el
new file mode 100644
index 0000000..a717d99
--- /dev/null
+++ b/org-fc-compat.el
@@ -0,0 +1,38 @@
+;;; org-fc-compat.el --- Compatibility Code -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2020 Leon Rische
+
+;; Author: Leon Rische <emacs@leonrische.me>
+;; Url: https://www.leonrische.me/pages/org_flashcards.html
+;; Package-requires: ((emacs "26.3") (org "9.3"))
+;; Version: 0.0.1
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;
+;; Code needed for backward compatibility with previous versions of org-fc.
+;;
+;;; Code:
+;;;; Obsolete Aliases
+
+(define-obsolete-function-alias
+ 'org-fc-show-all
+ 'org-fc-remove-overlays "0.0.1")
+
+;;; Footer
+
+(provide 'org-fc-compat)
+
+;;; org-fc-compat.el ends here