Skip to content

How to use deft-file-naming-rules with usepackage #108

@buhtz

Description

@buhtz

The emacs-intern-reference about deft-file-naming-rules show me examples using setq.

But how is the syntax when using usepackage? Can you give an example about it and also improve the docu about it please.

This is my not working example:

99  (use-package deft
100   :ensure t
101   :custom
102     (deft-extensions '("org" "md" "txt"))
103     (deft-directory "~/tab-cloud/zettel")
104     (deft-use-filename-as-title t)
105     (deft-file-nameing-rules
106       ’((nospace . "_"))
107     )
108 )

Spaces/blanks are still ignored and use in the filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions