Skip to content

Commit

Permalink
Improved emacs sublima config
Browse files Browse the repository at this point in the history
  • Loading branch information
lyderichti59 committed May 29, 2024
1 parent a6f256d commit 4bdb633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions personal/sublima.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

(require 'recentf)

(setq sublima-cache-directory (concat user-emacs-directory ".cache/sublima"))
(setq sublima-cache-directory (concat org-directory "/private"))

(add-to-list 'recentf-exclude (expand-file-name sublima-cache-directory))
(make-directory (expand-file-name sublima-cache-directory) t)
Expand All @@ -12,7 +12,7 @@
;; Create Sublima Scratch Buffer
(defun sublima-scratch()
(interactive)
(let ((scratch-file (make-temp-file (expand-file-name (concat sublima-cache-directory "/scratch-")))))
(let ((scratch-file (make-temp-file (expand-file-name (concat sublima-cache-directory "/scratch-")) nil ".org")))
(find-file scratch-file)))


Expand Down

0 comments on commit 4bdb633

Please sign in to comment.