Fix the missing org-element bug
This commit is contained in:
parent
e0923bbcb8
commit
606f2e7a57
1
build.el
1
build.el
|
@ -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)" "$@"
|
:;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
|
;;; build.el --- The build script of my personal website
|
||||||
;;; Version: 0.1.0
|
;;; Version: 0.1.0
|
||||||
;;; Package-Version 0.1.0
|
;;; Package-Version 0.1.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;;; ox-template.el --- A HTML exporter via templates for org-mode
|
;;; 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>
|
;; Author: Sameer Rahmani <lxsameer@gnu.org>
|
||||||
;; URL: https://devheroes.codes/lxsameer/lxhome
|
;; URL: https://devheroes.codes/lxsameer/lxhome
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'org-element)
|
||||||
|
|
||||||
(defmacro comment (&rest body)
|
(defmacro comment (&rest body)
|
||||||
"Ignore the given BODY."
|
"Ignore the given BODY."
|
||||||
nil)
|
nil)
|
||||||
|
@ -30,7 +32,7 @@
|
||||||
"Return the value of the given global PROP in the given org FILE."
|
"Return the value of the given global PROP in the given org FILE."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert-file-contents file)
|
(insert-file-contents file)
|
||||||
(message (get-buffer-global-props prop))))
|
(get-buffer-global-props prop)))
|
||||||
|
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
|
|
Loading…
Reference in New Issue