From 4b332a4ec496f0d765c9e3d2e2e1857d97ad845c Mon Sep 17 00:00:00 2001 From: Raphael Gaschignard Date: Tue, 9 Apr 2024 13:29:43 +1000 Subject: [PATCH] Use cl-lib instead of cl I believe cl-libify caught the only relevant spot here --- emacs-company/company-go.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs-company/company-go.el b/emacs-company/company-go.el index a4bf1790..2d39d460 100644 --- a/emacs-company/company-go.el +++ b/emacs-company/company-go.el @@ -4,7 +4,7 @@ ;; Author: nsf ;; Keywords: languages -;; Package-Requires: ((company "0.8.0") (go-mode "1.0.0")) +;; Package-Requires: ((company "0.8.0") (go-mode "1.0.0") (emacs "24.3")) ;; No license, this code is under public domain, do whatever you want. @@ -13,7 +13,7 @@ (require 'company-template) (eval-when-compile - (require 'cl)) + (require 'cl-lib)) (require 'go-mode) (require 'company) @@ -239,7 +239,7 @@ triggers a completion immediately." ;;;###autoload (defun company-go (command &optional arg &rest ignored) (interactive (list 'interactive)) - (case command + (cl-case command (interactive (company-begin-backend 'company-go)) (prefix (and (derived-mode-p 'go-mode) (not (company-in-string-or-comment))