From 606f2e7a5798489cd160853ac27111a994ec2346 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Sun, 3 Jul 2022 23:45:32 +0100 Subject: [PATCH] Fix the missing org-element bug --- build.el | 1 + lisp/ox-template.el | 2 +- lisp/utils.el | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.el b/build.el index 48ded57..3a1a022 100755 --- a/build.el +++ b/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 diff --git a/lisp/ox-template.el b/lisp/ox-template.el index 27c4eeb..432a28e 100644 --- a/lisp/ox-template.el +++ b/lisp/ox-template.el @@ -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 ;; URL: https://devheroes.codes/lxsameer/lxhome ;; diff --git a/lisp/utils.el b/lisp/utils.el index 13f8928..9d93c73 100644 --- a/lisp/utils.el +++ b/lisp/utils.el @@ -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