New answers tagged

2

You find the following answer within the code of thing-at-point: (defun start-of-thing-at-point (thing) "Get start of THING at point." (let ((bounds (bounds-of-thing-at-point thing))) (and bounds (car bounds)))) For your examples thing should be either 'word or 'filename. Tested with 26.3.


Top 50 recent answers are included