File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 107107 :workspace/title :org/name :clawe.defs/name ])
108108 " ralphie-fallback" )
109109 initial-file (some wsp [:emacs.open/file :emacs.open/directory
110- :workspace/initial-file ])
110+ :workspace/initial-file :workspace/directory ])
111111 initial-file (determine-initial-file initial-file)
112112 elisp-hook (:emacs.open/elisp-hook wsp)
113113 eval-str (str
118118 (str " (russ/open-workspace \" " wsp-name " \" ) " ))
119119 (when initial-file
120120 ; ; TODO consider a 'daily file' pattern here, even searching to find one
121+ ; ; TODO only find file if the workspace is new?
121122 (str " (find-file \" " initial-file " \" ) " " " ))
122123 (when elisp-hook elisp-hook)
123124 " )'" )
137138 (notify {:notify/subject " Started Emacs Server"
138139 :notify/id " init-emacs-server" }))
139140
140- (->
141- (process/process {:cmd open-str
142- ; ; :pre-start-fn (fn [{:keys [cmd]}] (println cmd))
143- })
144- check))
141+ (-> (process/process {:cmd open-str
142+ :pre-start-fn (fn [{:keys [cmd]}] (println cmd))})
143+ check))
145144 ; ; TODO proper clawe error log
146145 (catch Exception e
147146 (notify/notify " emacs/open error" (str e))
You can’t perform that action at this time.
0 commit comments