Skip to content

Commit

Permalink
help: Workaround to make CCL happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed May 3, 2022
1 parent 8ee8774 commit a7d36ab
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions source/help.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -907,13 +907,14 @@ The version number is stored in the clipboard."
(:br)
(format nil "Atlas Engineer LLC, 2018-~a" (local-time:timestamp-year (local-time:now)))))))

(define-internal-page-command-global manual ()
(buffer "*Manual*" 'nyxt/help-mode:help-mode)
"Show the manual."
(spinneret:with-html-string (:style (style buffer))
(:style (cl-css:css '(("body"
:max-width "80ch"))))
(:raw (manual-content))))
(sera:eval-always ; To satisfy `fboundp' of `manual' at compile-time (e.g. CCL).
(define-internal-page-command-global manual ()
(buffer "*Manual*" 'nyxt/help-mode:help-mode)
"Show the manual."
(spinneret:with-html-string (:style (style buffer))
(:style (cl-css:css '(("body"
:max-width "80ch"))))
(:raw (manual-content)))))

(define-internal-page-command-global tutorial ()
(buffer "*Tutorial*" 'nyxt/help-mode:help-mode)
Expand Down

0 comments on commit a7d36ab

Please sign in to comment.