aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2013-09-17 21:44:20 -0700
committerGlenn Morris2013-09-17 21:44:20 -0700
commitcd8edbbe673d636e262fa499cfee913b640d2e1c (patch)
tree07913e76e825262dc7eb0010af4e87f4b08e776c /lisp
parent7e58af4b13a4fdd32cb052a08bc6a7121fd3a6a4 (diff)
downloademacs-cd8edbbe673d636e262fa499cfee913b640d2e1c.tar.gz
emacs-cd8edbbe673d636e262fa499cfee913b640d2e1c.zip
* mpc.el (doc-view-mode): Silence --without-x compilation.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/mpc.el3
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b39bf122642..7ddc5425435 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -8,6 +8,8 @@
8 * mouse.el (mouse-yank-primary): 8 * mouse.el (mouse-yank-primary):
9 Reorder to silence --without-x compilation. 9 Reorder to silence --without-x compilation.
10 10
11 * mpc.el (doc-view-mode): Silence --without-x compilation.
12
11 * mail/rmailmm.el (rmail-mime-set-bulk-data): 13 * mail/rmailmm.el (rmail-mime-set-bulk-data):
12 Silence --without-x compilation. 14 Silence --without-x compilation.
13 15
diff --git a/lisp/mpc.el b/lisp/mpc.el
index bd61c261246..2bb3f91abc9 100644
--- a/lisp/mpc.el
+++ b/lisp/mpc.el
@@ -1139,7 +1139,8 @@ If PLAYLIST is t or nil or missing, use the main playlist."
1139 "Major mode for the features common to all buffers of MPC." 1139 "Major mode for the features common to all buffers of MPC."
1140 (buffer-disable-undo) 1140 (buffer-disable-undo)
1141 (setq buffer-read-only t) 1141 (setq buffer-read-only t)
1142 (setq-local tool-bar-map mpc-tool-bar-map) 1142 (if (boundp 'tool-bar-map) ; not if --without-x
1143 (setq-local tool-bar-map mpc-tool-bar-map))
1143 (setq-local truncate-lines t)) 1144 (setq-local truncate-lines t))
1144 1145
1145;;; The mpc-status-mode buffer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1146;;; The mpc-status-mode buffer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;