aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
authorksqsf <login@ksqsf.moe>2022-11-04 22:07:00 +0800
committerWilfred Hughes <me@wilfred.me.uk>2022-11-08 12:42:51 -0800
commitdc4e356b55212f67c7022f3aec4f5986a23d5d5e (patch)
tree11a85cf6234f1829707b9f5cc92f1ecd5b7239fd /helpful.el
parent60c1cd49f72e930b8796e5644bd222e8fc466740 (diff)
Remove use of (point) as a generalized variable
This use has been made obsolete since Emacs 29.
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index 6346e8a..6fa24ab 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1760,7 +1760,7 @@ POSITION-HEADS takes the form ((123 (defun foo)) (456 (defun bar)))."
(with-temp-buffer
(declare-function cl--generic-describe "cl-generic" (function))
(cl--generic-describe func)
- (setf (point) (point-min))
+ (goto-char (point-min))
(when (re-search-forward "^Implementations:$" nil t)
(setq content (buffer-substring (point) (point-max)))))
(when content