evil-mc icon indicating copy to clipboard operation
evil-mc copied to clipboard

ess-smart-comma not working

Open gdkrmr opened this issue 8 years ago • 2 comments
trafficstars

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 avatar Feb 06 '17 08:02 gdkrmr

fixed typo in title

gdkrmr avatar Feb 06 '17 08:02 gdkrmr

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))))

hlissner avatar Oct 14 '20 05:10 hlissner