-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
denote-org-dblock.el
70 lines (58 loc) · 2.16 KB
/
denote-org-dblock.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;;; denote-org-dblock.el --- Compatibility alieases for Denote Org Dynamic blocks -*- lexical-binding: t -*-
;; Copyright (C) 2022-2024 Free Software Foundation, Inc.
;; Authors: Elias Storms <[email protected]>,
;; Protesilaos Stavrou <[email protected]>
;; Maintainer: Protesilaos Stavrou <[email protected]>
;; Deprecated-since: 3.0.0
;; URL: https://github.com/protesilaos/denote
;; This file is NOT part of GNU Emacs.
;; 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:
;;
;; This file defines compatibility aliases for Org dynamic blocks set
;; up by Denote. The new source of these is the denote-org-extras.el.
;;
;; Below is the old commentary.
;;
;; * * *
;;
;; This file defines Org dynamic blocks using the facility described
;; in the Org manual. Evaluate this:
;;
;; (info "(org) Dynamic Blocks")
;;
;; The dynamic blocks defined herein are documented at length in the
;; Denote manual. See the following node and its subsections:
;;
;; (info "(denote) Use Org dynamic blocks")
;;; Code:
(require 'denote-org-extras)
(define-obsolete-function-alias
'denote-org-dblock-insert-links
'denote-org-extras-dblock-insert-links
"3.0.0")
(define-obsolete-function-alias
'denote-org-dblock-insert-backlinks
'denote-org-extras-dblock-insert-backlinks
"3.0.0")
(define-obsolete-function-alias
'denote-org-dblock-insert-files
'denote-org-extras-dblock-insert-files
"3.0.0")
(display-warning
'denote
"`denote-org-dblock.el' is obsolete; use `denote-org-extras.el'"
:warning)
(provide 'denote-org-dblock)
;;; denote-org-dblock.el ends here