Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deft-file-mtime: Wrong type argument #90

Open
OrionRandD opened this issue Nov 2, 2020 · 0 comments
Open

deft-file-mtime: Wrong type argument #90

OrionRandD opened this issue Nov 2, 2020 · 0 comments

Comments

@OrionRandD
Copy link

I am getting this new error:

-> deft-file-mtime: Wrong type argument: hash-table-p, nil

when calling deft

It was working OK till yesterday...

here is my config:

(use-package! deft
:custom
(deft-directory "/org/deft-notes")
(deft-extensions '("org" "md"))
(deft-recursive t)
(deft-use-filename-as-title t)
(deft-filter-only-filenames t)
;; (deft-auto-save-interval 30.0)
(deft-file-limit 200))

(setq deft-auto-save-interval 15.0)

(defun cypher/deft-open-other ()
(interactive)
(deft-open-file-other-window t))

(defun cypher/deft-open-preview ()
(interactive)
(deft-open-file-other-window))

(with-eval-after-load 'deft
(define-key deft-mode-map
(kbd "") 'cypher/deft-open-preview)
(define-key deft-mode-map
(kbd "") 'cypher/deft-open-other)
(define-key deft-mode-map
(kbd "s-j") 'evil-next-line)
(define-key deft-mode-map (kbd "s-k") 'evil-previous-line))

(setq deft-strip-summary-regexp
(concat "\("
"[\n\t]" ;; blank
"\|^#\+[a-zA-Z_]+:.*$" ;;org-mode metadata
"\)"))

;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant