]> git.eshelyaron.com Git - emacs.git/commitdiff
Require array package to use current-line ()
authorDavid Florness <edwargix@gmail.com>
Mon, 19 Aug 2019 00:09:13 +0000 (18:09 -0600)
committerJoão Távora <joaotavora@gmail.com>
Mon, 19 Aug 2019 00:09:13 +0000 (01:09 +0100)
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

index 6078e97cdcdddfcc21ebe1218d317293710966a5..23d53edc2b2b07e8d60a142c87ff6af54c293cf1 100644 (file)
@@ -70,6 +70,7 @@
 (require 'jsonrpc)
 (require 'filenotify)
 (require 'ert)
+(require 'array)
 
 \f
 ;;; User tweakable stuff