[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 3565c7efb3 125/212: Fixed byte-compilation wa
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 3565c7efb3 125/212: Fixed byte-compilation warnings for indent file |
Date: |
Wed, 26 Jan 2022 01:51:12 -0500 (EST) |
branch: externals/phps-mode
commit 3565c7efb3b9f3fc98c469f42d0f3a9d2489fa92
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Fixed byte-compilation warnings for indent file
---
phps-mode-indent.el | 32 ++------------------------------
1 file changed, 2 insertions(+), 30 deletions(-)
diff --git a/phps-mode-indent.el b/phps-mode-indent.el
index acb1b01fe4..7b1d452cd7 100644
--- a/phps-mode-indent.el
+++ b/phps-mode-indent.el
@@ -136,9 +136,7 @@
(save-excursion
(let ((move-length 0)
(move-length1 0)
- (move-length2 0)
(current-line-string "")
- (current-line-is-empty-p)
(previous-line-string "")
(previous-line-is-empty-p)
(previous2-line-string ""))
@@ -181,9 +179,6 @@
previous-line-string
line-string))
((= searching-previous-lines 1)
- (setq
- move-length2
- (1+ move-length))
(setq
previous2-line-string
line-string)))
@@ -199,14 +194,6 @@
(1+ move-length)))))
(goto-char point)
- (when
- (string-match-p
- "^[ \t\f\r\n]*$"
- current-line-string)
- (setq
- current-line-is-empty-p
- t))
-
(if previous-line-is-empty-p
(indent-line-to
(phps-mode-indent--string-indentation
@@ -226,9 +213,6 @@
(previous-line-starts-with-closing-bracket
(phps-mode-indent--string-starts-with-closing-bracket
previous-line-string))
- (previous-line-ends-with-closing-bracket
- (phps-mode-indent--string-ends-with-closing-bracket
- previous-line-string))
(previous-line-starts-with-opening-doc-comment
(phps-mode-indent--string-starts-with-opening-doc-comment
previous-line-string))
@@ -768,13 +752,10 @@
(let ((not-found t)
(is-assignment nil)
- (is-string-doc)
(parenthesis-level 0)
- (is-bracket-less-command nil)
(is-same-line-p t)
(is-object-chaining)
- (is-object-chaining-on-same-line)
- (bracket-opened-on-first-line))
+ (is-object-chaining-on-same-line))
(while
(and
not-found
@@ -789,9 +770,6 @@
((string-match-p
"<<<'?\"?[a-zA-Z0-9]+'?\"?"
match)
- (setq
- is-string-doc
- t)
(setq
not-found
nil))
@@ -813,10 +791,6 @@
is-same-line-p)))
((= parenthesis-level 0)
(setq is-assignment (string= match "="))
- (setq is-bracket-less-command
- (string-match-p
- "\\(echo[\t ]+\\|print[\t ]+\\)"
- match))
(setq not-found nil)))))
(when (or
@@ -1021,10 +995,8 @@
(started-chaining-on-this-line t)
(is-assignment)
(is-string-concatenation)
- (parenthesis-level 0)
(is-bracket-less-command)
- (is-same-line-p t)
- (bracket-opened-on-first-line))
+ (is-same-line-p t))
(while
(and
not-found
- [elpa] externals/phps-mode 882e6f75dc 062/212: Work on SDT for interface methods, (continued)
- [elpa] externals/phps-mode 882e6f75dc 062/212: Work on SDT for interface methods, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 30e9fa14ff 075/212: Added a failing bookkeeping test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 16ce2acfb7 077/212: Removed debug output for bookkeeping, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode bc5039e32f 086/212: Created custom determine string indentation function, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode daff4ad5e0 085/212: More work on indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode b82475c697 090/212: Passed token-blind indentation for multi-line class extends and implements, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2ea2360c3e 091/212: Created indent helper functions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode df91b8e433 117/212: More handling of string-doc indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 6fac0d5585 102/212: Passed indent test for heredoc string, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 1af63142f3 127/212: Fixed incremental issue with new SDT based bookkeeping, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 3565c7efb3 125/212: Fixed byte-compilation warnings for indent file,
Christian Johansson <=
- [elpa] externals/phps-mode a8097b5b5e 147/212: Improved indentation on line after equal operator in if condition list, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode dece7f242e 160/212: Added more failing indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a530988fe0 134/212: Added more failing indent tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 8c1f529f87 145/212: Passing indent for line after ending of statement / expression with trailing closing bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode d7aa22d251 146/212: Added two new failing tests for indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode c453932f32 139/212: Added TODO item, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 8374026917 166/212: Improved indentation on lines starting with a closing square bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2afb7dc87a 002/212: Generating basic imenu-index via parser SDT, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 41b1566c40 010/212: Imenu generation via parser SDT passing more tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 8f9870fb9b 013/212: Parser SDT does not use global variables, Christian Johansson, 2022/01/26