Skip to content

Instantly share code, notes, and snippets.

@jmercouris
Created December 7, 2017 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmercouris/78247fc1030e208f023c50323d46b3e8 to your computer and use it in GitHub Desktop.
Save jmercouris/78247fc1030e208f023c50323d46b3e8 to your computer and use it in GitHub Desktop.
(defun variable-inspect (input)
(let* ((help-buffer (generate-new-buffer
(concatenate 'string "HELP-" (symbol-name input)) (document-mode)))
(help-contents (documentation input 'variable))
(insert-help (ps:ps (setf (ps:@ document Body inner-H-T-M-L) help-contents))))
(interface:web-view-execute (view help-buffer) insert-help)
(set-visible-active-buffer help-buffer)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment