Fix the missing org-element bug
This commit is contained in:
vecāks
e0923bbcb8
revīzija
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)" "$@"
|
||||
|
||||
;;; 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
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā