emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r102229: Silence compilation of mh-mi


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102229: Silence compilation of mh-mime.el.
Date: Tue, 02 Nov 2010 20:27:38 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102229
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-11-02 20:27:38 -0700
message:
  Silence compilation of mh-mime.el.
  * lisp/mh-e/mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
modified:
  lisp/mh-e/ChangeLog
  lisp/mh-e/mh-mime.el
=== modified file 'lisp/mh-e/ChangeLog'
--- a/lisp/mh-e/ChangeLog       2010-07-24 11:53:19 +0000
+++ b/lisp/mh-e/ChangeLog       2010-11-03 03:27:38 +0000
@@ -1,3 +1,7 @@
+2010-11-03  Glenn Morris  <address@hidden>
+
+       * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
+
 2010-05-14  Peter S Galbraith  <address@hidden>
 
        * mh-mime.el (mh-decode-message-subject): New function to decode

=== modified file 'lisp/mh-e/mh-mime.el'
--- a/lisp/mh-e/mh-mime.el      2010-05-19 12:23:40 +0000
+++ b/lisp/mh-e/mh-mime.el      2010-11-03 03:27:38 +0000
@@ -1,8 +1,7 @@
 ;;; mh-mime.el --- MH-E MIME support
 
-;; Copyright (C) 1993, 1995,
-;;   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-;;   Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;;   2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Author: Bill Wohler <address@hidden>
 ;; Maintainer: Bill Wohler <address@hidden>
@@ -837,9 +836,10 @@
 ;;; Button Display
 
 ;; Shush compiler.
-(defvar dots)                           ; XEmacs
-(defvar type)                           ; XEmacs
-(defvar ov)                             ; XEmacs
+(when (featurep 'xemacs)
+  (defvar dots)
+  (defvar type)
+  (defvar ov))
 
 (defun mh-insert-mime-button (handle index displayed)
   "Insert MIME button for HANDLE.
@@ -1834,5 +1834,4 @@
 ;; sentence-end-double-space: nil
 ;; End:
 
-;; arch-tag: 0dd36518-1b64-4a84-8f4e-59f422d3f002
 ;;; mh-mime.el ends here


reply via email to

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