Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nano-help.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@
(sit-for 30)))

;; Help screen

(define-derived-mode nano-help-mode org-mode "Nano help mode")
(define-key nano-help-mode-map (kbd "q") #'kill-current-buffer)
(defun nano-help ()
(interactive)
(find-file-read-only (locate-file "quick-help.org" load-path))
(find-file-read-only (concat user-emacs-directory "straight/repos/nano-emacs/quick-help.org"))
(nano-help-mode)
(setq-local org-confirm-elisp-link-function nil))

Expand Down