Skip to content

Commit

Permalink
docs: correct keybinding example with new in v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nobiot committed Feb 1, 2024
1 parent 1948980 commit fd26f0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/org-remark.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#+title: Org-remark User Manual
#+author: Noboru Ota <[email protected]>
#+macro: version 1.3.x
#+macro: modified 07 October 2023
#+macro: modified 01 February 2024
#+language: en
#+export_file_name: org-remark.texi
#+texinfo_dir_category: Emacs
Expand Down Expand Up @@ -86,6 +86,7 @@ Below are example keybindings you might like to consider:
;; globally before the library is loaded.

(define-key global-map (kbd "C-c n m") #'org-remark-mark)
(define-key global-map (kbd "C-c n l") #'org-remark-mark-line) ; new in v1.3

;; The rest of keybidings are done only on loading `org-remark'
(with-eval-after-load 'org-remark
Expand All @@ -106,7 +107,7 @@ Alternatively, you can use ~use-package~ to set up Org-remark. The example provi
:bind (;; :bind keyword also implicitly defers org-remark itself.
;; Keybindings before :map is set for global-map.
("C-c n m" . org-remark-mark)
("C-c n l" . org-remark-mark-line)
("C-c n l" . org-remark-mark-line) ; new in v1.3
:map org-remark-mode-map
("C-c n o" . org-remark-open)
("C-c n ]" . org-remark-view-next)
Expand Down

0 comments on commit fd26f0e

Please sign in to comment.