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

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

Re: string searching and saving results to a variable


From: Oleksandr Gavenko
Subject: Re: string searching and saving results to a variable
Date: Sat, 19 Feb 2011 11:16:41 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 2011-02-16 16:58, ken wrote:
On 02/16/2011 04:21 AM Oleksandr Gavenko wrote:
How about if search fail?

Evaluating of

   (buffer-substring nil nil)

take (wrong-type-argument integer-or-marker-p nil).

Error-checking is an excellent idea, I agree.  But I don't understand
the elisp code you wrote.  Could you explain it for me please.

This copied from top of *Backtrace* buffer when eval expression
(which appear on error).
So it is not a working elisp code.

--
Best regards!




reply via email to

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