summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-17 18:19:02 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-17 18:19:02 +0200
commit0edc2f4901f606a9a298edbc2ddc630a44f04a26 (patch)
treecbbc4005fed51fb1fcaff0d52355d1d1c22fb8b9 /lisp/help-fns.el
parentda8fed0be06dc1ba936bfaa427f0890c881f133a (diff)
downloademacs-0edc2f4901f606a9a298edbc2ddc630a44f04a26.tar.gz
Fix some declare-after-interactive functions
* lisp/progmodes/opascal.el (opascal-new-comment-line): * lisp/image-mode.el (image-transform-fit-to-height): * lisp/help-fns.el (help-fns-edit-variable): * lisp/gnus/gnus-salt.el (gnus-pick-start-reading): * lisp/eshell/esh-util.el (eshell-for): * lisp/ldefs-boot.el (view-return-to-alist-update): Fix warnings about declare after interactive.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 18b12ee7b37..6eff0b9b0e9 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1372,8 +1372,8 @@ it is displayed along with the global value."
(put 'help-fns-edit-variable 'disabled t)
(defun help-fns-edit-variable ()
"Edit the variable under point."
- (interactive)
(declare (completion ignore))
+ (interactive)
(let ((var (get-text-property (point) 'help-fns--edit-variable)))
(unless var
(error "No variable under point"))