[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode e01234a 113/192: Use funcall rather than apply w
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode e01234a 113/192: Use funcall rather than apply where appropriate |
Date: |
Sun, 29 Aug 2021 11:02:01 -0400 (EDT) |
branch: elpa/dart-mode
commit e01234a74ba8fc9b7657697216fc62dafd292694
Author: Natalie Weizenbaum <nex342@gmail.com>
Commit: Natalie Weizenbaum <nex342@gmail.com>
Use funcall rather than apply where appropriate
---
dart-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index 2520a30..1515511 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -970,7 +970,7 @@ the callback for that request is given the json decoded
response."
(callbacks (dart--get dart--analysis-server-subscriptions
event)))
(dolist (callback callbacks)
(let ((subscription (cons event callback)))
- (apply callback params subscription nil))))))
+ (funcall callback params subscription))))))
(defun dart--analysis-server-subscribe (event callback)
"Registers CALLBACK to be called for each EVENT of the given type.
@@ -1289,7 +1289,7 @@ to add a header and otherwise prepare it for displaying
results."
"*Dart Search*" nil nil
(dart-popup-mode)
(setq buffer (current-buffer))
- (apply callback nil)
+ (funcall callback)
(setq beginning-of-results (point))
(dart--analysis-server-subscribe
@@ -1646,7 +1646,7 @@ Only set in `dart-popup-mode'.")
"Re-runs the logic that generated the current buffer."
(interactive)
(when dart--do-it-again-callback
- (apply dart--do-it-again-callback nil)))
+ (funcall dart--do-it-again-callback)))
;;; Formatting
- [nongnu] elpa/dart-mode bd08208 082/192: Switch completely to cl-lib (#33), (continued)
- [nongnu] elpa/dart-mode bd08208 082/192: Switch completely to cl-lib (#33), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1f65c88 083/192: Add LIMIT argument for looking-back (#34), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1c9da5a 087/192: Explicitly load compile.el so that the compilation-error-regexp-* variables are defined (#41), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode eea1000 093/192: Highlight hover dartdoc, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 907cba5 095/192: Indicate deprecated hovers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 8e09b68 120/192: Exclusively use cl-lib to avoid byte-compilation inconsistencies, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1249417 108/192: Better handle zero-argument functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 0277dad 107/192: Include parameter documentation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 73d0ebc 135/192: Merge branch 'refactor-tests', ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 4feac34 123/192: Make sure to provide the full buffer in dart-add-analysis-overlay, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e01234a 113/192: Use funcall rather than apply where appropriate,
ELPA Syncer <=
- [nongnu] elpa/dart-mode eba375b 112/192: Parse JSON arrays as lists, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 905ce53 117/192: Fix a bunch of byte-compilation warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 25a0b8a 128/192: Add tests for dart-format, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d1a0c5e 103/192: Fall back to normal expansion, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 613b311 111/192: Stop using lexical let, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 950d3a8 133/192: Add emacs versions 24.3 and snapshot, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a4126bd 121/192: Allow s 1.10, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 52034c7 110/192: Add a dart--get helper to make it easier to use JSON, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f3a7c7b 122/192: Properly tell flycheck when there are no errors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1153c53 134/192: Add ert-runner, ELPA Syncer, 2021/08/29