check if current emacs buffer contains a string
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-06-13T23:05:21Z
Indexed on
2010/06/13
23:12 UTC
Read the original article
Hit count: 168
I have a buffer open in emacs. I want a function that will return t
if the current buffer contains the string, otherwise it returns nil
.
(defun buffer-contains-substring (string)
...
)
© Stack Overflow or respective owner