emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 5b90a053f7 307/308: Merge pull request #86 fro


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 5b90a053f7 307/308: Merge pull request #86 from skangas/cl-lib
Date: Tue, 25 Jan 2022 11:00:01 -0500 (EST)

branch: elpa/drupal-mode
commit 5b90a053f73849db77e4c89a030acd81b53712d1
Merge: e1533052ad 53d6809d84
Author: Arne Jørgensen <arne@arnested.dk>
Commit: GitHub <noreply@github.com>

    Merge pull request #86 from skangas/cl-lib
    
    Fix #84: Use cl-lib instead of deprecated cl
---
 drupal-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index c0d4e09fc8..5a5475bae8 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -33,7 +33,7 @@
 
 ;;; Code:
 
-(require 'cl)
+(require 'cl-lib)
 (require 'php-mode)
 (require 'format-spec)
 (require 'json)
@@ -543,7 +543,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))
@@ -839,7 +839,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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]