dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

denote-org-dblock.el (2212B)


      1 ;;; denote-org-dblock.el --- Compatibility alieases for Denote Org Dynamic blocks -*- lexical-binding: t -*-
      2 
      3 ;; Copyright (C) 2022-2024  Free Software Foundation, Inc.
      4 
      5 ;; Authors: Elias Storms <elias.storms@gmail.com>,
      6 ;;          Protesilaos Stavrou <info@protesilaos.com>
      7 ;; Maintainer: Protesilaos Stavrou <info@protesilaos.com>
      8 ;; Deprecated-since: 3.0.0
      9 ;; URL: https://github.com/protesilaos/denote
     10 
     11 ;; This file is NOT part of GNU Emacs.
     12 
     13 ;; This program is free software; you can redistribute it and/or modify
     14 ;; it under the terms of the GNU General Public License as published by
     15 ;; the Free Software Foundation, either version 3 of the License, or
     16 ;; (at your option) any later version.
     17 ;;
     18 ;; This program is distributed in the hope that it will be useful,
     19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     21 ;; GNU General Public License for more details.
     22 ;;
     23 ;; You should have received a copy of the GNU General Public License
     24 ;; along with this program.  If not, see <https://www.gnu.org/licenses/>.
     25 
     26 ;;; Commentary:
     27 ;;
     28 ;; This file defines compatibility aliases for Org dynamic blocks set
     29 ;; up by Denote.  The new source of these is the denote-org-extras.el.
     30 ;;
     31 ;; Below is the old commentary.
     32 ;;
     33 ;; * * *
     34 ;;
     35 ;; This file defines Org dynamic blocks using the facility described
     36 ;; in the Org manual.  Evaluate this:
     37 ;;
     38 ;;    (info "(org) Dynamic Blocks")
     39 ;;
     40 ;; The dynamic blocks defined herein are documented at length in the
     41 ;; Denote manual.  See the following node and its subsections:
     42 ;;
     43 ;;    (info "(denote) Use Org dynamic blocks")
     44 
     45 ;;; Code:
     46 
     47 (require 'denote-org-extras)
     48 
     49 (define-obsolete-function-alias
     50   'denote-org-dblock-insert-links
     51   'denote-org-extras-dblock-insert-links
     52   "3.0.0")
     53 
     54 (define-obsolete-function-alias
     55   'denote-org-dblock-insert-backlinks
     56   'denote-org-extras-dblock-insert-backlinks
     57   "3.0.0")
     58 
     59 (define-obsolete-function-alias
     60   'denote-org-dblock-insert-files
     61   'denote-org-extras-dblock-insert-files
     62   "3.0.0")
     63 
     64 (display-warning
     65  'denote
     66  "`denote-org-dblock.el' is obsolete; use `denote-org-extras.el'"
     67  :warning)
     68 
     69 (provide 'denote-org-dblock)
     70 ;;; denote-org-dblock.el ends here