aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
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