Old MB diesel's are very sensitive to care, esp. oil changes. She could be shot at 180k. Have her compression tested at least. If well cared for, she could be like new!
But there are two very simple tests on MB's in general and Diesel in particular.
Run the glow plugs (start at ambient temp- cool block) and then start. Should start first try and rattle a lot. All older vintage high mileage MB's smoke (leaky valve seals), so that's normal.
When first started, the oil pressure should peg at 3 atmospheres (45psi). If she doesn't when cold, walk away...shot bearings. If she pegs, when you drive her (she should peg by 1,500rpm, after warmed up) and warm her up fully. Run her hard and after warm, hot rod her. She should not blow black or other smoke. If she looks like Rommel's tank Corps going over the hill, again, walk. Watch the oil pressure, while coming down to a stop from running. At no time should she drop below 1atms/15psi...maybe a touch, but not really.
Then come back and park but running. At idle in neutral, a very good engine will show 2atms, 30 psi, even at high miles. If an automatic, shift to drive and oil pressure should drop to 1 to 1.5 atms (15-20psi). If she shows good oil pressure, that is great. This applies to the 240D and the 300D.
Finally, pop the hood. Black oil? Who cares. Start her up. Pull the oil filler cap and place your hand over the hole. You are checking for blow-by. If the filler cap was knocked out of your hand by internal pressure, that's bad. If you feel light puffing, that's not so bad. A tight engine will not puff at all, but a bad one will puff out the hole like crazy.
How much body rust? Could be a lot! Old MB's can really rust, but maybe not. Also, the front suspension idler arms can go bad. When you steer, should be no play!
Finally, don't be shocked by the fuel economy. Good for her time but not so hot by today's standard- check the Fed's Economy web site. A decent used Buick Park Avenue 3.8L will get better! (true).
But I love the way the old MB's sound and drive!