Skip to content

Commit

Permalink
Define obsolete alias before the defcustom.
Browse files Browse the repository at this point in the history
  • Loading branch information
msherry committed Dec 8, 2017
1 parent 76f3f75 commit 41e6769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flycheck-pycheckers.el
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
Can be further customized via the \".pycheckers\" config file."
:type '(repeat :tag "Codes" (string :tag "Error/Warning code")))

(define-obsolete-variable-alias 'flycheck-pycheckers-enabled-codes 'flycheck-pycheckers-enable-codes)
(flycheck-def-option-var flycheck-pycheckers-enable-codes
'("W0613")
python-pycheckers
Expand All @@ -199,7 +200,6 @@ Useful for overriding defaults set in a company-wide .pylintrc,
for example. Can be further customized via the \".pycheckers\"
config file."
:type '(repeat :tag "Codes" (string :tag "Error/Warning code")))
(define-obsolete-variable-alias 'flycheck-pycheckers-enabled-codes 'flycheck-pycheckers-enable-codes)

(flycheck-def-option-var flycheck-pycheckers-max-line-length 80
python-pycheckers
Expand Down

0 comments on commit 41e6769

Please sign in to comment.