gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
393 stars 37 forks source link

ess-smart-comma not working #48

Open gdkrmr opened 7 years ago

gdkrmr commented 7 years ago

ess-smart-comma does not work, gives a very similar error as #47

evil-mc Failed to execute ess-smart-comma with error: Wrong number of arguments: #[nil "\303p!\211\203
[proc ess-smart-operators major-mode get-buffer-process marker-position process-mark ess-handy-commands delete-horizontal-space ", " inferior-ess-mode indent-according-to-mode ","] 5 ("/home/gkraemer/.emacs.d/elpa/ess-20170118.232/lisp/ess-inf.elc" . 90382) nil], 1
gdkrmr commented 7 years ago

fixed typo in title

hlissner commented 4 years ago

In case it helps anyone, you just have to add ess-smart-comma to evil-mc-custom-known-commands:

(with-eval-after-load 'evil-mc
  (add-to-list 'evil-mc-custom-known-commands
               '(ess-smart-comma (:default . evil-mc-execute-call))))