[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing a Lisp to show the capacity of the battery of the laptop
From: |
Deniz Dogan |
Subject: |
Re: Writing a Lisp to show the capacity of the battery of the laptop |
Date: |
Tue, 22 Feb 2011 18:41:01 +0100 |
2011/2/22 Alberto Luaces <aluaces@udc.es>:
> Deniz Dogan writes:
>
>> 2011/2/22 Alberto Luaces:
>>> Deniz Dogan writes:
>>>
>>>> Your code is unorganized and buffer-centric for no reason.
>>>
>>> I'm also an elisp newbie and were doing the same buffer fiddling, since
>>> I didn't know that `shell-command' returned a string with the output
>>> until I saw your example.
>>>
>>> Is there any existing convention about this? I can't find that
>>> information in an explicit form in that function documentation.
>>>
>>
>> Heh, my bad, it doesn't return a string. Ignore me.
>
> What a pity! :(
>
shell-command-to-string does though! I knew it existed somewhere...!
--
Deniz Dogan
Re: Writing a Lisp to show the capacity of the battery of the laptop, Eli Zaretskii, 2011/02/22