help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [el-search] How to search string excluding docstring?


From: Emanuel Berg
Subject: Re: [el-search] How to search string excluding docstring?
Date: Wed, 27 Dec 2017 07:58:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Chunyang Xu wrote:

> I think point is at the beginning of the
> string, the following assumes this to work.

Perhaps that can be improved easily.

First, check if point is at a string.

If it is, search backwards to the initial
string delimiter (and make sure it isn't
quoted).

Then, check if that string is in
a docstring position.

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]