summaryrefslogtreecommitdiff
path: root/lisp/server.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/server.el b/lisp/server.el
index f75e9cb4fe5..b65053267a6 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -729,7 +729,9 @@ the `server-process' variable."
(concat "Unable to start the Emacs server.\n"
(cadr err)
(substitute-command-keys
- "\nTo start the server in this Emacs process, stop the existing server or call `\\[server-force-delete]' to forcibly disconnect it."))
+ (concat "\nTo start the server in this Emacs process, stop "
+ "the existing server or call \\[server-force-delete] "
+ "to forcibly disconnect it.")))
:warning)
(setq leave-dead t)))
;; Now any previous server is properly stopped.
@@ -1437,7 +1439,11 @@ invocations of \"emacs\".")
;; including code that needs to wait.
(with-local-quit
(condition-case err
- (let ((buffers (server-visit-files files proc nowait)))
+ (let ((buffers (server-visit-files files proc nowait))
+ ;; On Android, the Emacs server generally can't provide
+ ;; feedback to the user except by means of dialog boxes,
+ ;; which are displayed in the GUI emacsclient wrapper.
+ (use-dialog-box-override (featurep 'android)))
(mapc 'funcall (nreverse commands))
(let ((server-eval-args-left (nreverse evalexprs)))
(while server-eval-args-left