[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 17cf388 5/7: Fix eglot--error and eglot--message
From: |
João Távora |
Subject: |
[elpa] externals/eglot 17cf388 5/7: Fix eglot--error and eglot--message helpers |
Date: |
Thu, 17 May 2018 09:11:35 -0400 (EDT) |
branch: externals/eglot
commit 17cf38819d08b1eb66eab1753c5111901cc448ee
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Fix eglot--error and eglot--message helpers
* eglot.el (eglot--error, eglot--message):
Safely interpret %s.
---
eglot.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eglot.el b/eglot.el
index 30d5b43..01a6b5d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -721,11 +721,11 @@ DEFERRED is passed to `eglot--async-request', which see."
;;;
(defun eglot--error (format &rest args)
"Error out with FORMAT with ARGS."
- (error (apply #'format format args)))
+ (error "[eglot] %s" (apply #'format format args)))
(defun eglot--message (format &rest args)
"Message out with FORMAT with ARGS."
- (message (concat "[eglot] " (apply #'format format args))))
+ (message "[eglot] %s" (apply #'format format args)))
(defun eglot--warn (format &rest args)
"Warning message with FORMAT and ARGS."
- [elpa] externals/eglot updated (a85bdc7 -> 8e5acb1), João Távora, 2018/05/17
- [elpa] externals/eglot 8e5acb1 7/7: * eglot.el (Version): Bump to 0.3, João Távora, 2018/05/17
- [elpa] externals/eglot 17cf388 5/7: Fix eglot--error and eglot--message helpers,
João Távora <=
- [elpa] externals/eglot 083a725 4/7: * eglot.el (eglot--lambda): Add missing indent spec., João Távora, 2018/05/17
- [elpa] externals/eglot 6cc1ac0 3/7: Simplify some function calling infrastructure, João Távora, 2018/05/17
- [elpa] externals/eglot 1f8c238 1/7: Add PHP's php-language-server to built-in guessed servers, João Távora, 2018/05/17
- [elpa] externals/eglot d5a998b 2/7: Replace eglot--with-lsp-range with a function and pcase-let, João Távora, 2018/05/17
- [elpa] externals/eglot 12691c2 6/7: Make it work on Windows, João Távora, 2018/05/17