Set view-buffer-command more concisely

- autoload was unnecessary here
- added namespace prefix to var