From 1e132526248dc5da22e75dfc7e4740c2b6c4d2a7 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 13 Sep 2024 01:36:02 -0700 Subject: [PATCH] Fix my/describe-symbol-at-point --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index fc5bb46..9ee004d 100644 --- a/init.el +++ b/init.el @@ -56,9 +56,9 @@ ;; (setq-local evil-lookup-func ;; #'my/describe-symbol-at-point)) (defun my/describe-symbol-at-point () - "Calls `describe-symbol' on the return value of `form-at-point'." + "Calls `describe-symbol' on the return value of `symbol-at-point'." (interactive) - (let ((form (form-at-point))) + (let ((form (symbol-at-point))) (if (consp form) (describe-symbol (cadr form)) (describe-symbol form))))