Skip to content

Fixup compilation warnings #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions clojure-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ For example, \[ is allowed in :db/id[:db.part/user]."
:group 'clojure
:safe (lambda (value)
(and (listp value)
(every 'characterp value))))
(cl-every 'characterp value))))

(defvar clojure-mode-map
(let ((map (make-sparse-keymap)))
Expand Down Expand Up @@ -225,6 +225,9 @@ ENDP and DELIMITER."
t)
(= orig-point (match-end 0)))))))))

(declare-function paredit-open-curly "ext:paredit")
(declare-function paredit-close-curly "ext:paredit")

(defun clojure-paredit-setup ()
"Make \"paredit-mode\" play nice with `clojure-mode'."
(when (>= paredit-version 21)
Expand Down Expand Up @@ -705,7 +708,7 @@ This function also returns nil meaning don't specify the indentation."
(clojure-backtracking-indent
indent-point state normal-indent)))))))

(defun clojure-backtracking-indent (indent-point state normal-indent)
(defun clojure-backtracking-indent (indent-point state _normal-indent)
"Experimental backtracking support.

Given an INDENT-POINT, the STATE, and the NORMAL-INDENT, will
Expand Down