diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-12-27 16:57:57 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-12-27 16:57:57 +0000 |
commit | 3e20bce0f9bf4dc9810b74b42150582a6eade3d7 (patch) | |
tree | ba97b09d1ace77b9a813115149900995824172c3 | |
parent | 620c53ecd54c8387a4e59a7282a59b173cb3a025 (diff) | |
download | org-zettelkasten-3e20bce0f9bf4dc9810b74b42150582a6eade3d7.tar.gz org-zettelkasten-3e20bce0f9bf4dc9810b74b42150582a6eade3d7.zip |
Fix documentation issues with checkdoc
-rw-r--r-- | org-zettelkasten.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/org-zettelkasten.el b/org-zettelkasten.el index 6d269ab..c7b9e75 100644 --- a/org-zettelkasten.el +++ b/org-zettelkasten.el @@ -158,8 +158,11 @@ NEWHEADING: function used to create the heading and set the current (member (buffer-file-name) (org-zettelkasten-all-files))) (defun org-zettelkasten-setup () - "Add functions to buffer local `before-save-hook' and activate -`zettelkasten-mode'." + "Activate `zettelkasten-mode' with hooks. + +This function only activates `zettelkasten-mode' in Org. It also +adds `org-zettelkasten-update-modified' to buffer local +`before-save-hook'." (add-hook 'org-mode-hook (lambda () @@ -170,8 +173,7 @@ NEWHEADING: function used to create the heading and set the current (org-zettelkasten-mode))))) (defun org-zettelkasten-search-current-id () - "Search for references to the current ID the `org-zettelkasten' -directory." + "Search for references to ID in `org-zettelkasten-directory'." (interactive) (let ((current-id (org-entry-get nil "CUSTOM_ID"))) (lgrep (concat "[:[]." current-id "]") "*.org" org-zettelkasten-directory))) |