[Basic elisp question] How can I define a function that calls meow-end-of-thing
-> "l"?
#643
-
I am trying to define a function that is equivalent of (meow-end-of-thing) then pressing the "l" key. From meow-end-of-thing's definition I see that it takes a (defun meow-end-of-line ()
(interactive)
(meow-end-of-thing 'line)) But I haven't been able to wrap my head around symbols in elisp yet. Any help is welcome. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, the argument THING accepts a char, not a symbol. An inner function
|
Beta Was this translation helpful? Give feedback.
Hey, the argument THING accepts a char, not a symbol.
An inner function
meow--parse-range-of-thing
gives you the bounds by a thing symbol. Or you can do this: