Fixed having to manually enter in the dash lib load path
This commit is contained in:
parent
99eb5c3b2c
commit
c9e5cf5760
|
@ -1,4 +1,4 @@
|
|||
<rss version="2.0"><channel><title>RSS Test</title><link>http://example.com</link><description>An example blog for testing RSS capability of md4tj.</description><language>en-US</language><pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate><managingEditor>editor@example.com</managingEditor><webMaster>webmaster@example.com</webMaster><docs>https://www.rssboard.org/rss-specification</docs><generator>md4tj-rss.el</generator><lastBuildDate>Sat, 30 Mar 2024 21:40:13 GMT</lastBuildDate><item><title>Blog Post 2</title><link>https://example.com/blog/blogpost2.html</link><guid>https://example.com/blog/blogpost2.html</guid><description>
|
||||
<rss version="2.0"><channel><title>RSS Test</title><link>http://example.com</link><description>An example blog for testing RSS capability of md4tj.</description><language>en-US</language><pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate><managingEditor>editor@example.com</managingEditor><webMaster>webmaster@example.com</webMaster><docs>https://www.rssboard.org/rss-specification</docs><generator>md4tj-rss.el</generator><lastBuildDate>Sat, 30 Mar 2024 21:59:21 GMT</lastBuildDate><item><title>Blog Post 2</title><link>https://example.com/blog/blogpost2.html</link><guid>https://example.com/blog/blogpost2.html</guid><description>
|
||||
|
||||
<br>
|
||||
|
||||
|
|
9
md4tj.el
9
md4tj.el
|
@ -6,10 +6,11 @@
|
|||
|
||||
(require 'cl-lib)
|
||||
(require 'subr-x)
|
||||
;; Change this line to wherever dash.el is on the building system
|
||||
;; Can't use (require) because load-path is set in .emacs
|
||||
;;(load-file "~/.emacs.d/elpa/dash-20230415.2324/dash.el")
|
||||
(load-file "~/.emacs.d/elpa/dash-20240103.1301/dash.el")
|
||||
|
||||
;; Add the dash directory to the load-path, since running emacs in batch mode does not define the
|
||||
;; load-path
|
||||
(add-to-list 'load-path (concat "~/.emacs.d/elpa/" (nth 0 (cl-remove-if-not (lambda (x) (string-match "dash-.*" x)) (directory-files "~/.emacs.d/elpa")))))
|
||||
(require 'dash) ;; and then require it
|
||||
|
||||
;; Basic utilities for subsequent stuff
|
||||
(defun md4tj-util-getline ()
|
||||
|
|
|
@ -77,7 +77,7 @@ int main() {
|
|||
<p>This is a div that has monospace text.</p>
|
||||
|
||||
</div>
|
||||
<p id="lastupdated">Last updated: Sun 31 Mar 2024 01:40 UTC</p>
|
||||
<p id="lastupdated">Last updated: Sun 31 Mar 2024 01:59 UTC</p>
|
||||
|
||||
<br>
|
||||
|
||||
|
|
Loading…
Reference in New Issue