1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00

* mpc.el (doc-view-mode): Silence --without-x compilation.

This commit is contained in:
Glenn Morris 2013-09-17 21:44:20 -07:00
parent 7e58af4b13
commit cd8edbbe67
2 changed files with 4 additions and 1 deletions

View file

@ -1139,7 +1139,8 @@ If PLAYLIST is t or nil or missing, use the main playlist."
"Major mode for the features common to all buffers of MPC."
(buffer-disable-undo)
(setq buffer-read-only t)
(setq-local tool-bar-map mpc-tool-bar-map)
(if (boundp 'tool-bar-map) ; not if --without-x
(setq-local tool-bar-map mpc-tool-bar-map))
(setq-local truncate-lines t))
;;; The mpc-status-mode buffer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;