summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
-rw-r--r--lisp/emacs-lisp/shadow.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el
index 1e5ef45e7f4..edaa74e6a3e 100644
--- a/lisp/emacs-lisp/shadow.el
+++ b/lisp/emacs-lisp/shadow.el
@@ -53,9 +53,16 @@
;;; Code:
-(defvar shadows-compare-text-p nil
+(defgroup shadow nil
+ "Locate Emacs Lisp file shadowings."
+ :prefix "shadows-"
+ :group 'lisp)
+
+(defcustom shadows-compare-text-p nil
"*If non-nil, then shadowing files are reported only if their text differs.
-This is slower, but filters out some innocuous shadowing.")
+This is slower, but filters out some innocuous shadowing."
+ :type 'boolean
+ :group 'shadow)
(defun find-emacs-lisp-shadows (&optional path)
"Return a list of Emacs Lisp files that create shadows.