Bläddra i källkod

Add my-privnotes

master
10sr 5 år sedan
förälder
incheckning
34137d1bbb
Signerad av: 10sr GPG-nyckel ID: 7BEC428194130EB2
1 ändrade filer med 13 tillägg och 0 borttagningar
  1. +13
    -0
      emacs.el

+ 13
- 0
emacs.el Visa fil

@@ -1782,6 +1782,19 @@ ARG is num to show, or defaults to 7."
"")
"memo.txt"))))

(set (defvar my-privnotes-path nil
"My privnotes repository path.")
(expand-file-name "~/my/privnotes"))

(defun my-privnotes-readme (path)
"Open my privnotes."
(interactive (list
(read-file-name "Privnotes: "
(expand-file-name (format-time-string "%Y%m%d_")
my-privnotes-path))))
(find-file (expand-file-name "README.md" path)))
(define-key ctl-x-map "p" 'my-privnotes-readme)

(set (defvar my-rgrep-alist nil
"Alist of rgrep command.
Each element is in the form like (NAME SEXP COMMAND), where SEXP returns the


Laddar…
Avbryt
Spara