[C] packages: Simplify/fix timeclock.el error line number reporting

Adrian Aichner adrian at xemacs.org
Fri Sep 21 02:12:10 EDT 2007


jpw at pobox.com (John Paul Wallington) writes:

> "Adrian Aichner" <adrian at xemacs.org> writes:
>
>> @@ -1163,7 +1164,8 @@
>>  		       (add-to-list 'timeclock-reason-list (nth 2 event)))
>>  		   (if (not beg)
>>  		       ;; XEmacs change
>> -		       (error "Error in format of timelog file, line %d" line)
>> +		       (error "Error in format of timelog file, line %d"
>> +			      (line-umber))
>
> Typo - should be line-number.

Thanks John, I've committed a fix!

Adrian

>
>
>

-- 
Adrian Aichner
 mailto:adrian at xemacs.org
 http://www.xemacs.org/



More information about the XEmacs-Patches mailing list