[Top][All Lists]

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

Re: Basic emacs lisp question

From: Phillip Lord
Subject: Re: Basic emacs lisp question
Date: Thu, 11 Sep 2014 12:10:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>>> (let ((a (thing-at-point 'word)))
>>>>   (message a)))
>>> And if the word at point includes % you'll get an error.
>>> *Always* pass a format string to `message':
>>> (message "%s" (thing-at-point 'word))))
>> I *think* (thing-at-point 'word) doesn't normally return a %, at least
>> not from .signature, so I'm in the clear!
> Might be the case, but why think when you can just use "%s" is move on?

Can't argue with that. Spend too much of my life thinking, so less is


reply via email to

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