From 4a1d60dd6d6340b215d3f2b9376619cf92e8a2d8 Mon Sep 17 00:00:00 2001 From: David Florness Date: Sun, 18 Aug 2019 18:09:13 -0600 Subject: [PATCH] Require array package to use current-line () The jsonrpc package (one of eglot's dependencies) recently updated and removed the line requiring the array package. Since current-line is provided by array and is used by eglot, require array explicitly. Here's jsonrpc's guilty commit: https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/jsonrpc.el?id=c676444a43e4634c1f98ec286b5bd9e46b23216b Copyright-paperwork-exempt: Yes * eglot.el (array): Require it. GitHub-reference: https://github.com/joaotavora/eglot/issues/294 --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6078e97cdcd..23d53edc2b2 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -70,6 +70,7 @@ (require 'jsonrpc) (require 'filenotify) (require 'ert) +(require 'array) ;;; User tweakable stuff -- 2.39.2