emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote e783662363 159/355: Tweak sample configuration


From: ELPA Syncer
Subject: [elpa] externals/denote e783662363 159/355: Tweak sample configuration
Date: Sun, 26 Jun 2022 23:58:18 -0400 (EDT)

branch: externals/denote
commit e783662363a60af0ac5c08f7e1dfb69c95e3b662
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Tweak sample configuration
---
 README.org | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index 0a01f4242d..d6dfe839fb 100644
--- a/README.org
+++ b/README.org
@@ -872,8 +872,11 @@ Everything is in place to set up the package.
 (add-hook 'dired-mode-hook #'denote-dired-mode-in-directories)
 
 ;; You can bind `denote' to a global key if you prefer not to use
-;; `org-capture' or want an alternative.  For example:
-(define-key global-map (kbd "C-c n") #'denote)
+;; `org-capture' or want an alternative.  Denote does not define any key
+;; bindings though: this is for the user to decide.  For example:
+(let ((map global-map))
+  (define-key map (kbd "C-c n") #'denote)
+  (define-key map (kbd "C-c N") #'denote-type))
 
 (with-eval-after-load 'org-capture
   (require 'denote-org-capture)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]