The purpose of this article is to point out that, contrary to popular belief, David Gregory did not lecture on the Newtonian philosophy when he was Professer of Mathematics at Edinburgh University. This belief has arisen because of a statement of Whiston's which attributes to David a paper written by his younger brother James. Nevertheless, some of David's Edinburgh students were acquainted with Newton's work, and I shall examine the extent to which this was so, and look at the other sources which he used in his teaching. Finally, Gregory's attitudes are seen to be typical of those prevailing in the Scottish universities of his day.