[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: |
Wed, 10 Sep 2014 16:45:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> 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!
But, generally, yes, it's a good call.
Phil
- Re: Basic emacs lisp question, (continued)
- Message not available
- Re: Basic emacs lisp question, Emanuel Berg, 2014/09/09
- Message not available
- Re: Basic emacs lisp question, Emanuel Berg, 2014/09/09
- Message not available
- Re: Basic emacs lisp question, Emanuel Berg, 2014/09/09
- Re: Basic emacs lisp question, Robert Thorpe, 2014/09/09
- Re: Basic emacs lisp question, Ken, 2014/09/09
- Re: Basic emacs lisp question, Glyn Millington, 2014/09/10
- Re: Basic emacs lisp question, Ken, 2014/09/10
Re: Basic emacs lisp question, Phillip Lord, 2014/09/10
Message not available