Skip to content
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
6 changes: 3 additions & 3 deletions drupal-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

;;; Code:

(require 'cl)
(require 'cl-lib)
(require 'php-mode)
(require 'format-spec)
(require 'json)
Expand Down Expand Up @@ -539,7 +539,7 @@ buffer."
(buffer-string)))))
(when (not config)
(error "No Drupal SQL configuration found."))
(destructuring-bind (&key database driver &allow-other-keys) config
(cl-destructuring-bind (&key database driver &allow-other-keys) config
(let ((sql-interactive-product
(drupal--db-driver-to-sql-product driver))
(start-buffer (current-buffer))
Expand Down Expand Up @@ -835,7 +835,7 @@ Used in `drupal-insert-hook' and `drupal-insert-function'."
(insert name)
name)))

(defun* drupal-module-major-version (&key version default)
(cl-defun drupal-module-major-version (&key version default)
"Return a modules major version number.
If VERSION is not set derive it from the buffer local variable
`drupal-major-version'.
Expand Down