[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/url-scgi a5fa019e7f 21/48: url-scgi: Fix cl-check-type
From: |
ELPA Syncer |
Subject: |
[elpa] externals/url-scgi a5fa019e7f 21/48: url-scgi: Fix cl-check-type bug on Emacs 26.1 |
Date: |
Fri, 28 Oct 2022 22:58:30 -0400 (EDT) |
branch: externals/url-scgi
commit a5fa019e7f8e7a1e477f40b9aa3fe7f8461fe6b1
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
url-scgi: Fix cl-check-type bug on Emacs 26.1
---
url-scgi.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/url-scgi.el b/url-scgi.el
index 5a82a2088b..13af761e73 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -31,6 +31,7 @@
;;; Change Log:
;; 0.5 - Fix using file socket on Emacs 25
+;; Fix cl-check-type bug on Emacs 26.1
;; 0.4 - Significant code cleanups
@@ -88,7 +89,9 @@
;;;###autoload
(defun url-scgi (url callback cbargs)
"Handle SCGI URLs from internal Emacs functions."
- (cl-check-type url vector "Need a pre-parsed URL.")
+ (if (>= emacs-major-version 26)
+ (cl-check-type url url "Need a pre-parsed URL.")
+ (cl-check-type url vector "Need a pre-parsed URL."))
(declare (special url-scgi-connection-opened
url-callback-function
url-callback-arguments
@@ -141,7 +144,7 @@
(process-send-string connection (url-scgi-create-request))))))
buffer))
-(defun url-scgi-sync-open-sentinel (proc why)
+(defun url-scgi-sync-open-sentinel (proc _)
(when (buffer-name (process-buffer proc))
(with-current-buffer (process-buffer proc)
(url-scgi-activate-callback))))
- [elpa] externals/url-scgi 248962b6d6 08/48: url-scgi: Fix scgi socket on absolute path, (continued)
- [elpa] externals/url-scgi 248962b6d6 08/48: url-scgi: Fix scgi socket on absolute path, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 8f5564a783 10/48: url-scgi: untabify, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 60154c472f 01/48: Add COPYING file containing the GPLv3., ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 3686dad2bd 04/48: Cleanups in url-scgi.el, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi f868b8be51 05/48: Support using xmlrpc over a file bound socket, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 1f76fba6a2 06/48: Use lexical binding, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi efd8de5ec8 09/48: url-scgi: fix compile time warning, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 44ee68353b 12/48: url-scgi: Add first unit tests, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 37f3ce8fa6 22/48: Fix some comments and docstrings, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 66a7d265ff 13/48: Fix the workaround for bug in xml-rpc.el, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi a5fa019e7f 21/48: url-scgi: Fix cl-check-type bug on Emacs 26.1,
ELPA Syncer <=
- [elpa] externals/url-scgi 2b22e6ffa9 11/48: url-scgi: Fix naming to not clutter namespace, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi a6ceb9f71d 14/48: Silence byte compiler warnings, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi e9e8323d86 15/48: Use new 'cl-lib rather than old 'cl, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 0d031d258f 18/48: Bump copyright year to 2017, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi dae60fe387 20/48: url-scgi: fix local socket on Emacs 25, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi e8eeb679c6 27/48: Update copyright year, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 9c9170a7c3 33/48: Re-indent, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi c5a548ac36 30/48: Fix quoting of characters, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi 0c75eb1b17 37/48: Add .gitignore, ELPA Syncer, 2022/10/28
- [elpa] externals/url-scgi b77ff8ec77 39/48: Add SPDX-License-Identifier library header, ELPA Syncer, 2022/10/28