emacs-refactor icon indicating copy to clipboard operation
emacs-refactor copied to clipboard

Add a 'rename parameter' operation for elisp

Open Wilfred opened this issue 7 years ago • 1 comments

Before:

(defun wh/foo (bar)
  "Do something with BAR."
  (+ bar 1))

After (note the docstring has been updated):

(defun wh/foo (baz)
  "Do something with BAZ."
  (+ baz 1))

Wilfred avatar Feb 21 '17 10:02 Wilfred

We should be allowed editing the parameter from the function itself. Instead of adding an option, we could allow modifying the docstring if & only if it's a parameter. This could be done by customizing iedit behavior.

notetiene avatar Jun 06 '17 19:06 notetiene