Function keys since upgrading to Yosemite
Solution 1:
It turns out the problem came from the external keyboard, a Logitech K750. I had to use the Logitech Control Center to get the correct behavior. Why this wasn't a problem in Mavericks, I'm not sure.