aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-09-21 20:17:46 +0200
committerStefan Kangas2021-09-21 20:17:46 +0200
commitf41a4ec8e171db19690e3bf2198d8045f153e81f (patch)
treebe31047b983eff081c0d7b4923de4ea72f911f3d
parentb2bb717d4b539b80841096609321d0c0b43576d0 (diff)
downloademacs-f41a4ec8e171db19690e3bf2198d8045f153e81f.tar.gz
emacs-f41a4ec8e171db19690e3bf2198d8045f153e81f.zip
; * lisp/emacs-lisp/checkdoc.el: Fix warnings.
-rw-r--r--lisp/emacs-lisp/checkdoc.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 9d7d35eb731..5224a943ac0 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -164,6 +164,7 @@
164(require 'cl-lib) 164(require 'cl-lib)
165(require 'help-mode) ;; for help-xref-info-regexp 165(require 'help-mode) ;; for help-xref-info-regexp
166(require 'thingatpt) ;; for handy thing-at-point-looking-at 166(require 'thingatpt) ;; for handy thing-at-point-looking-at
167(require 'dired) ;; for dired-get-filename and dired-map-over-marks
167(require 'lisp-mnt) 168(require 'lisp-mnt)
168 169
169(defvar compilation-error-regexp-alist) 170(defvar compilation-error-regexp-alist)
@@ -278,6 +279,8 @@ Currently, all recognized keywords must be on `finder-known-keywords'."
278 :version "25.1" 279 :version "25.1"
279 :type 'boolean) 280 :type 'boolean)
280 281
282(define-obsolete-variable-alias 'checkdoc-style-hooks
283 'checkdoc-style-functions "24.3")
281(defvar checkdoc-style-functions nil 284(defvar checkdoc-style-functions nil
282 "Hook run after the standard style check is completed. 285 "Hook run after the standard style check is completed.
283All functions must return nil or a string representing the error found. 286All functions must return nil or a string representing the error found.
@@ -287,6 +290,8 @@ Each hook is called with two parameters, (DEFUNINFO ENDPOINT).
287DEFUNINFO is the return value of `checkdoc-defun-info'. ENDPOINT is the 290DEFUNINFO is the return value of `checkdoc-defun-info'. ENDPOINT is the
288location of end of the documentation string.") 291location of end of the documentation string.")
289 292
293(define-obsolete-variable-alias 'checkdoc-comment-style-hooks
294 'checkdoc-comment-style-functions "24.3")
290(defvar checkdoc-comment-style-functions nil 295(defvar checkdoc-comment-style-functions nil
291 "Hook run after the standard comment style check is completed. 296 "Hook run after the standard comment style check is completed.
292Must return nil if no errors are found, or a string describing the 297Must return nil if no errors are found, or a string describing the
@@ -2806,10 +2811,6 @@ function called to create the messages."
2806 2811
2807;; Obsolete 2812;; Obsolete
2808 2813
2809(define-obsolete-variable-alias 'checkdoc-style-hooks
2810 'checkdoc-style-functions "24.3")
2811(define-obsolete-variable-alias 'checkdoc-comment-style-hooks
2812 'checkdoc-comment-style-functions "24.3")
2813(define-obsolete-function-alias 'checkdoc-run-hooks 2814(define-obsolete-function-alias 'checkdoc-run-hooks
2814 #'run-hook-with-args-until-success "28.1") 2815 #'run-hook-with-args-until-success "28.1")
2815(defvar checkdoc-version "0.6.2" 2816(defvar checkdoc-version "0.6.2"