summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/find-func.el16
1 files changed, 12 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 40879895df3..e12d5c6cc61 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -57,18 +57,26 @@
;;;; Code:
;;; User variables:
+(defgroup find-function nil
+ "Find the definition of the elisp function near point."
+ :prefix "find-function"
+ :group 'lisp)
-(defvar find-function-function 'function-at-point
+(defcustom find-function-function 'function-at-point
"*The function used by `find-function' to select the function near
point.
-For example `function-at-point' or `function-called-at-point'.")
+For example `function-at-point' or `function-called-at-point'."
+ :type 'function
+ :group 'find-function)
-(defvar find-function-source-path nil
+(defcustom find-function-source-path nil
"The default list of directories where find-function searches.
If this variable is `nil' then find-function searches `load-path' by
-default.")
+default."
+ :type '(repeat directory)
+ :group 'find-function)
;;; Functions: