Skip to content

Commit

Permalink
Changing deprecated flet (24.3) to cl-flet
Browse files Browse the repository at this point in the history
This resolved issue emacsorphanage#98 my emacs 24.4
  • Loading branch information
jtmoulia committed Mar 12, 2015
1 parent 06ac748 commit 1fc6e5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions op-template.el
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ similar to `op/render-header'."
(or template "post.mustache"))))
(or param-table
(ht ("title" (or (op/read-org-option "TITLE") "Untitled"))
("content" (flet ((org-html-fontify-code
(code lang)
(when code (org-html-encode-plain-text code))))
("content" (cl-flet ((org-html-fontify-code
(code lang)
(when code (org-html-encode-plain-text code))))
(org-export-as 'html nil nil t nil)))))))

(defun op/render-footer (&optional param-table)
Expand Down

0 comments on commit 1fc6e5d

Please sign in to comment.