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

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

[nongnu] elpa/org-journal 9c1e60a91d 5/6: Merge pull request #345 from s


From: ELPA Syncer
Subject: [nongnu] elpa/org-journal 9c1e60a91d 5/6: Merge pull request #345 from sstepashka/patch-1
Date: Fri, 9 Dec 2022 16:59:17 -0500 (EST)

branch: elpa/org-journal
commit 9c1e60a91d1497df94bc3d183276395295e7815b
Merge: 1ea9e3b672 d5633e5c70
Author: Jason May <jmay@pobox.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #345 from sstepashka/patch-1
    
    Remove key definition in the package loading.
---
 README.org     | 15 +++++++++------
 org-journal.el | 11 +++++------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index 1cd4e26a40..931a61ee38 100644
--- a/README.org
+++ b/README.org
@@ -113,12 +113,15 @@ Then add =(require 'org-journal)= to your =.emacs=.
 
 ** Quickstart
 
-Doing =M-x org-journal-new-entry= (or =C-c C-j=) will immediately create a 
journal
-directory in the default path (customized using the =org-journal-dir= 
variable), open or
-create a file in =org-journal-mode=, and insert a template for a new journal 
entry.
-
-The same command with a prefix argument (=C-u C-c C-j=) will do everything 
mentioned while
-skipping entry creation, which is useful for looking at the current journal 
file.
+Doing =M-x org-journal-new-entry= will immediately create a journal
+directory in the default path (customized using the =org-journal-dir=
+variable), open or create a file in =org-journal-mode=, and insert a
+template for a new journal entry.
+
+The same command with a prefix argument (=C-u M-x
+org-journal-new-entry=) will do everything mentioned while skipping
+entry creation, which is useful for looking at the current journal
+file.
 
 ** Basic Usage
 
diff --git a/org-journal.el b/org-journal.el
index 61ff72d243..81af272788 100644
--- a/org-journal.el
+++ b/org-journal.el
@@ -58,8 +58,9 @@
 ;; different times. Any subsequent entries on the same day are written
 ;; in the same file, with their own timestamp. You can customize the
 ;; date and time formats (or remove them entirely). To start writing a
-;; journal entry, press "C-c C-j". You can also open the current day's
-;; entry without adding a new entry with "C-u C-c C-j".
+;; journal entry, "M-x org-journal-new-entry". You can also open the
+;; current day's entry without adding a new entry with "C-u M-x
+;; org-journal-new-entry".
 ;;
 ;; You can browse through existing journal entries on disk via the
 ;; calendar. All dates for which an entry is present are highlighted.
@@ -73,8 +74,8 @@
 ;; day. This is customizable through org-journal-carryover-items.
 ;;
 ;; Quick summary:
-;; To create a new journal entry for the current time and day: C-c C-j
-;; To open today's journal without creating a new entry: C-u C-c C-j
+;; To create a new journal entry for the current time and day: M-x 
org-journal-new-entry
+;; To open today's journal without creating a new entry: C-u M-x 
org-journal-new-entry
 ;; In calendar view: j m to mark entries in calendar
 ;;                   j r to view an entry in a new buffer
 ;;                   j d to view an entry but not switch to it
@@ -450,8 +451,6 @@ This runs once per date, before 
`org-journal-after-entry-create-hook'.")
     (define-key calendar-mode-map (kbd "j s m") 
'org-journal-search-calendar-month)
     (define-key calendar-mode-map (kbd "j s y") 
'org-journal-search-calendar-year)))
 
-(global-set-key (kbd "C-c C-j") 'org-journal-new-entry)
-
 (defmacro org-journal--with-journal (file &rest body)
   "Opens JOURNAL-FILE in fundamental mode, or switches to the
 buffer which is visiting JOURNAL-FILE.



reply via email to

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