emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114361: * mpc.el (doc-view-mode): Silence --without


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114361: * mpc.el (doc-view-mode): Silence --without-x compilation.
Date: Wed, 18 Sep 2013 04:44:25 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114361
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-09-17 21:44:20 -0700
message:
  * mpc.el (doc-view-mode): Silence --without-x compilation.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/mpc.el                    mpc.el-20091201190351-ubdosyf8lle4bzd3-10
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-09-18 04:42:30 +0000
+++ b/lisp/ChangeLog    2013-09-18 04:44:20 +0000
@@ -8,6 +8,8 @@
        * mouse.el (mouse-yank-primary):
        Reorder to silence --without-x compilation.
 
+       * mpc.el (doc-view-mode): Silence --without-x compilation.
+
        * mail/rmailmm.el (rmail-mime-set-bulk-data):
        Silence --without-x compilation.
 

=== modified file 'lisp/mpc.el'
--- a/lisp/mpc.el       2013-09-12 05:32:57 +0000
+++ b/lisp/mpc.el       2013-09-18 04:44:20 +0000
@@ -1139,7 +1139,8 @@
   "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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]