File tree 4 files changed +7
-1
lines changed
4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ $ docker run -v <a host folder>:/root/work -it eshamster/cl-devel2 /bin/sh
13
13
14
14
Note: ` /root/work ` is a sym-link to ` /root/.roswell/local-projects `
15
15
16
+ If you want to add custom ` .el ` file, add ` /root/.emacs.d/site-lisp/custom/custom.el ` file into the container.
17
+
16
18
## Description
17
19
18
20
This mainly consists of ...
Original file line number Diff line number Diff line change 147
147
(font-lock-add-keywords
148
148
nil '((" ^[^\n ]\\ {100\\ }\\ (.*\\ )$" 1 font-lock-warning-face t )))))
149
149
150
+ ; ; --- load custom el file if exist --- ;;
151
+ (load " custom/custom.el" t )
152
+
150
153
; ; --------------------- ;;
151
154
; ; --- auto settings --- ;;
152
155
; ; --------------------- ;;
Original file line number Diff line number Diff line change
1
+ (message " --- custom/custom.el is loaded --- " )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ docker rmi $(docker images | awk '/^<none>/ { print $3 }') || echo "ignore rmi e
8
8
docker rm ` docker ps -a -q` || echo " ignore rm error"
9
9
10
10
docker build -t ${name} :latest .
11
- docker run --name cl-devel2 -v ~ /work/lisp:/root/work -it ${name} :latest /bin/sh
11
+ docker run --name ${name} -v ~ /work/lisp:/root/work -v " $( pwd ) /sample-custom-el " :/root/.emacs.d/site-lisp/custom - it ${name} :latest /bin/ash
You can’t perform that action at this time.
0 commit comments