Skip to content

Commit

Permalink
Avoid using cl-defun in testsuite
Browse files Browse the repository at this point in the history
Imenu in Emacs 24.3 and older doesn't recognize it.
  • Loading branch information
Fanael committed Apr 17, 2017
1 parent f3ad224 commit 1cee513
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package-lint-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ used."
(equal
'((3 0 warning "Private functions generally should not be autoloaded."))
(package-lint-test--run ";;;###autoload\n(defun test--private-function ())")))
(should
(equal
'((3 0 warning "Private functions generally should not be autoloaded."))
(package-lint-test--run ";;;###autoload\n(cl-defun test--private-function ())")))
(should
(equal
'((3 0 warning "Private functions generally should not be autoloaded."))
Expand Down

0 comments on commit 1cee513

Please sign in to comment.