Pārlūkot izejas kodu

remember-projectile

master
10sr pirms 5 gadiem
vecāks
revīzija
7655dd6227
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. +12
    -0
      emacs.el

+ 12
- 0
emacs.el Parādīt failu

@@ -2244,6 +2244,18 @@ Any output will be written to current buffer."
;;;;;;;;;;;;;;;;;;;;
;; remember-projectile

;; TODO: Add global-minor-mode
(defvar remember-data-file)
(defun my-set-remember-data-file-buffer-local ()
"Set `remember-data-file'."
(when (require 'projectile nil t)
(setq-local remember-data-file
(expand-file-name ".remember.notes"
(projectile-project-root)))))

(add-hook 'after-change-major-mode-hook
'my-set-remember-data-file-buffer-local)

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Notiek ielāde…
Atcelt
Saglabāt