Open Wilfred opened 7 years ago
Given the elisp code:
(let ((x 1)) (message "foo: %s %s" x 'bar))
emr-el-extraction-function on message gives:
emr-el-extraction-function
message
(defun foo (x bar) (message "foo: %s %s" x 'bar)) (let ((x 1)) (foo x bar))
Expected result:
(defun foo (x) (message "foo: %s %s" x 'bar)) (let ((x 1)) (foo x))
This is due to the flattening of the list when extracting variables.
There's a similar issue with backquoting and with vectors.
Given the elisp code:
emr-el-extraction-function
onmessage
gives:Expected result: