|
From: | Emanuel Berg |
Subject: | Re: help in writing function to pop indirect buffer |
Date: | Thu, 26 Jan 2023 07:45:19 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Jean Louis wrote: > Why not define thing-at-point? > > ;;; Thing at point 'thing-within-$code$ > > (defun rcd-tap-thing-within-$code$-start () > "Move point to the beginning of thing within `$code$'." > (re-search-backward "\\$code\\$") > (forward-char 7)) > > (defun rcd-tap-thing-within-$code$-end () > "Move point to the end of thing within `$code$." > (re-search-forward "\\$code\\$") > (backward-char 7)) Why not stop hard-coding everything ... -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |