minibuffer

How to display the documentation of the symbol at point Emacs Lisp?

September 18, 2023
(defun symbol-description-at-point ()
  "Display documentation of symbol at point."
  (interactive)
  (when-let ((symbol (symbol-at-point)))
    (describe-symbol symbol)))

(global-set-key (kbd "C-<f1>") #'symbol-description-at-point)