Browse Source

Update memo

master
10sr 9 months ago
parent
commit
595b45ebb7
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      emacs.el

+ 3
- 4
emacs.el View File

@@ -2640,10 +2640,9 @@ ARG is num to show, or defaults to 7."
(defun memo (&optional dir)
"Open memo.txt in DIR."
(interactive)
(pop-to-buffer (find-file-noselect (concat (if dir
(file-name-as-directory dir)
"")
"memo.txt"))))
(pop-to-buffer (find-file-noselect (expand-file-name "memo.txt"
(or dir
default-directory)))))

;; TODO: remember-projectile



Loading…
Cancel
Save