summaryrefslogtreecommitdiff
path: root/org-fc-compat.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-09-19 20:48:39 +0200
committerLeon Rische <leon.rische@me.com>2020-09-19 20:48:39 +0200
commit1d4060eedd8d8e702c87a165a6be6cf9942615d7 (patch)
tree95289aad2dfbb472099e43efc7e522bebb95b73f /org-fc-compat.el
parent57bb356b83f21eb10a3458bc09df06b40a2d55fe (diff)
Add obsolete alias for `org-fc-show-all`
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