File tree 3 files changed +3
-12
lines changed
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
(package " php-mode" " 1.24.1" " Major mode for editing PHP code" )
2
- (source gnu )
3
2
(source melpa )
4
3
5
4
(package-file " lisp/php-mode.el" )
Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ AUTOLOADS = php-mode-autoloads.el
5
5
ELCS = $(ELS:.el=.elc )
6
6
7
7
% .elc : % .el
8
- $(EMACS ) --batch -L lisp/ --eval \
9
- " (let ((default-directory (expand-file-name \" .cask\" default-directory))) \
10
- (normal-top-level-add-subdirs-to-load-path))" \
11
- -f batch-byte-compile $<
8
+ $(EMACS ) --batch -L lisp/ -f batch-byte-compile $<
12
9
13
10
all : autoloads $(ELCS ) authors
14
11
Original file line number Diff line number Diff line change 10
10
; ; URL: https://github.com/emacs-php/php-mode
11
11
; ; Keywords: languages php
12
12
; ; Version: 1.24.1
13
- ; ; Package-Requires: ((emacs "25.2") (compat "28.1.1.0") )
13
+ ; ; Package-Requires: ((emacs "25.2"))
14
14
; ; License: GPL-3.0-or-later
15
15
16
16
(eval-and-compile
82
82
(require 'rx )
83
83
(require 'cl-lib )
84
84
(require 'regexp-opt )
85
- (require 'compat-26 nil t )
86
85
(defvar add-log-current-defun-header-regexp )
87
86
(defvar add-log-current-defun-function )
88
87
(defvar c-syntactic-context )
93
92
(eval-when-compile
94
93
(let* ((fallback-version (format " %s -non-vcs" (with-no-warnings php-mode-version-number))))
95
94
(if (locate-dominating-file default-directory " .git" )
96
- (funcall
97
- (if (and (boundp 'string-trim-left ) (boundp 'string-trim-right ))
98
- (lambda (s ) (string-trim-left (string-trim-right s) " v" ))
99
- (lambda (s ) (compat-string-trim-left (compat-string-trim-right s) " v" )))
100
- (shell-command-to-string " git describe --tags" ))
95
+ (string-trim-left (string-trim-right (shell-command-to-string " git describe --tags" )) " v" )
101
96
fallback-version)))
102
97
" PHP Mode build ID.
103
98
You can’t perform that action at this time.
0 commit comments