Fix the missing org-element bug

This commit is contained in:
Sameer Rahmani 2022-07-03 23:45:32 +01:00
父節點 e0923bbcb8
當前提交 606f2e7a57
共有 3 個檔案被更改,包括 5 行新增2 行删除

查看文件

@ -1,4 +1,5 @@
:;exec cask emacs --no-site-file --no-site-lisp --batch -L ./ -l "$0" -f main "$(cd "$(dirname "$0")/." >/dev/null 2>&1 ; pwd -P)" "$@"
;;; build.el --- The build script of my personal website
;;; Version: 0.1.0
;;; Package-Version 0.1.0

查看文件

@ -1,5 +1,5 @@
;;; ox-template.el --- A HTML exporter via templates for org-mode
;; Copyright (C) 2021 Sameer Rahmani
;; Copyright (C) 2021-2022 Sameer Rahmani
;; Author: Sameer Rahmani <lxsameer@gnu.org>
;; URL: https://devheroes.codes/lxsameer/lxhome
;;

查看文件

@ -4,6 +4,8 @@
;;; Commentary:
;;; Code:
(require 'org-element)
(defmacro comment (&rest body)
"Ignore the given BODY."
nil)
@ -30,7 +32,7 @@
"Return the value of the given global PROP in the given org FILE."
(with-temp-buffer
(insert-file-contents file)
(message (get-buffer-global-props prop))))
(get-buffer-global-props prop)))
(comment