Use buffer-file-name, not buffer-name