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: Mon, 25 Dec 2017 13:00:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Chunyang Xu wrote:

> but I have no idea how to define
> 'docstring-p'.

Docstrings are in `font-lock-doc-face' so Emacs
already knows how to determine that. Find out
how that is done, and then invoke or reuse that
code from your function.

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


reply via email to

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