]> code.delx.au - gnu-emacs-elpa/commitdiff
(temp-directory): Get rid of warning.
authormonnier <>
Mon, 15 Nov 2004 03:49:56 +0000 (03:49 +0000)
committermonnier <>
Mon, 15 Nov 2004 03:49:56 +0000 (03:49 +0000)
sml-compat.el

index 4730e5376ee3149cf653915cbac2cd65863a1d9f..7557a32994129ee97145d85d778e2ba606de66f6 100644 (file)
@@ -1,6 +1,6 @@
 ;;; sml-compat.el --- Compatibility functions for Emacs variants for sml-mode
 
-;; Copyright (C) 1999-2000  Stefan Monnier <monnier@cs.yale.edu>
+;; Copyright (C) 1999, 2000, 2004  Stefan Monnier <monnier@gnu.org>
 ;;
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@
        (car parents)))))
 
 ;; for XEmacs
-(when (and (not (boundp 'temporary-file-directory)) (fboundp 'temp-directory))
+(when (fboundp 'temp-directory)
   (defvar temporary-file-directory (temp-directory)))
 
 (unless (fboundp 'make-temp-file)