colonelpanic8 / multi-line

multi-line everything from function invocations and definitions to array and map literals in a wide variety of languages
57 stars 6 forks source link

fix #18 #19

Closed thanhvg closed 2 years ago

thanhvg commented 2 years ago

This pr adds back (require 'eieio) in addition to (require 'cl-lib) to fix #18

eieio is not deprecated afaik. cl is, and replaced by cl-lib. I found at least defclass is used in this package and it is defined in eieio. Without this require, byte compiled of this package will fail to run.

There is a fancy way if we are sure we only use macro from eieio like (eval-when-compile (require 'eieio)) but I chose the safe change instead.