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

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

Re: 25.0.50.1, ert: (should (bolp)) fails in batch-mode


From: Andreas Röhler
Subject: Re: 25.0.50.1, ert: (should (bolp)) fails in batch-mode
Date: Fri, 18 Sep 2015 15:51:11 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 18.09.2015 um 13:10 schrieb Nicolas Richard:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
noticed a form

(should (bolp))

failed in ert test when called in batch-mode, while

(should (eq 0 (current-indentation)))
This is not about the current position : it only checks that the first
character of the line is not a whitespace character.


Okay, thanks.

In this case position is at BOL, why (bolp) fails from batch-mode?
Test succeeds when called interactively.




reply via email to

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