nonsequitur / git-gutter-plus

147 stars 18 forks source link

Support newer versions of tramp #43

Open yangsheng6810 opened 5 years ago

yangsheng6810 commented 5 years ago

The data structure of the return value of tramp-dissect-file-name was changed from a vector to a cl-structure class, and the implementation in git-gutter-plus assumes it to be a vector. This PR uses the API (I checked the APIs are available even in Emacs 23) provided by tramp.el to fix the problem. This avoids the type check in #39 , and fixes #42 .