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

John Paul Wallington jpw at pobox.com
Thu Sep 20 22:23:05 EDT 2007


"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.



More information about the XEmacs-Patches mailing list