[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/php-mode 08ef915dc3 09/12: Revert "Use compat-string-trim-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/php-mode 08ef915dc3 09/12: Revert "Use compat-string-trim-* functions for compatibility" |
Date: |
Thu, 3 Nov 2022 12:59:20 -0400 (EDT) |
branch: elpa/php-mode
commit 08ef915dc3b7567ea0994ca26097bdb866c42fdf
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>
Revert "Use compat-string-trim-* functions for compatibility"
This reverts commit b6382f414126536f46d7d9f976c79b7babec1460.
---
Cask | 1 -
Makefile | 5 +----
lisp/php-mode.el | 9 ++-------
3 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/Cask b/Cask
index 527f7eddb8..e847468562 100644
--- a/Cask
+++ b/Cask
@@ -1,5 +1,4 @@
(package "php-mode" "1.24.1" "Major mode for editing PHP code")
-(source gnu)
(source melpa)
(package-file "lisp/php-mode.el")
diff --git a/Makefile b/Makefile
index 883ec9f8f2..97922d2a50 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,7 @@ AUTOLOADS = php-mode-autoloads.el
ELCS = $(ELS:.el=.elc)
%.elc: %.el
- $(EMACS) --batch -L lisp/ --eval \
- "(let ((default-directory (expand-file-name \".cask\"
default-directory))) \
- (normal-top-level-add-subdirs-to-load-path))" \
- -f batch-byte-compile $<
+ $(EMACS) --batch -L lisp/ -f batch-byte-compile $<
all: autoloads $(ELCS) authors
diff --git a/lisp/php-mode.el b/lisp/php-mode.el
index 461b73ce34..24932bf25a 100644
--- a/lisp/php-mode.el
+++ b/lisp/php-mode.el
@@ -10,7 +10,7 @@
;; URL: https://github.com/emacs-php/php-mode
;; Keywords: languages php
;; Version: 1.24.1
-;; Package-Requires: ((emacs "25.2") (compat "28.1.1.0"))
+;; Package-Requires: ((emacs "25.2"))
;; License: GPL-3.0-or-later
(eval-and-compile
@@ -82,7 +82,6 @@
(require 'rx)
(require 'cl-lib)
(require 'regexp-opt)
- (require 'compat-26 nil t)
(defvar add-log-current-defun-header-regexp)
(defvar add-log-current-defun-function)
(defvar c-syntactic-context)
@@ -93,11 +92,7 @@
(eval-when-compile
(let* ((fallback-version (format "%s-non-vcs" (with-no-warnings
php-mode-version-number))))
(if (locate-dominating-file default-directory ".git")
- (funcall
- (if (and (boundp 'string-trim-left) (boundp 'string-trim-right))
- (lambda (s) (string-trim-left (string-trim-right s) "v"))
- (lambda (s) (compat-string-trim-left (compat-string-trim-right s)
"v")))
- (shell-command-to-string "git describe --tags"))
+ (string-trim-left (string-trim-right (shell-command-to-string "git
describe --tags")) "v")
fallback-version)))
"PHP Mode build ID.
- [nongnu] elpa/php-mode updated (fe8ab0903c -> f5c4016bb6), ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 44601ab2df 02/12: Add "phan" to type tag vendor prefix, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 258d6c5460 04/12: Add Psalm template annotations to php-phpdoc-type-tags, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 9603a4f54f 10/12: Revert string-trim-right, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode f5c4016bb6 12/12: Update AUTHORS, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 0bbdc46e01 03/12: Add "type" to php-phpdoc-type-tags as "phpstan-type", ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 7853345918 05/12: Update CHANGELOG, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 865bc847f8 06/12: Merge pull request #717 from emacs-php/refactor/phpdoc-type-variables, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 08ef915dc3 09/12: Revert "Use compat-string-trim-* functions for compatibility",
ELPA Syncer <=
- [nongnu] elpa/php-mode b559c80a1e 11/12: Merge pull request #713 from emacs-php/feature/php-mode-version, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode cf10f7c217 08/12: Use compat-string-trim-* functions for compatibility, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode 08776c1b50 01/12: Changed variable name to php-phpdoc-type-names to avoid confusion, ELPA Syncer, 2022/11/03
- [nongnu] elpa/php-mode f35bf9a28c 07/12: Add php-mode-version-id and make obsolete php-mode-version-number, ELPA Syncer, 2022/11/03