Mercurial > emacs
diff lisp/progmodes/idlw-shell.el @ 87384:20bb7aaa7b12
* calculator.el:
* dframe.el:
* iswitchb.el:
* whitespace.el:
* winner.el:
* emacs-lisp/checkdoc.el:
* mail/feedmail.el:
* net/quickurl.el:
* obsolete/fast-lock.el:
* play/5x5.el:
* progmodes/delphi.el:
* progmodes/idlw-shell.el:
* progmodes/idlwave.el:
* textmodes/artist.el:
* textmodes/ispell.el:
* textmodes/texinfmt.el:
* textmodes/texinfo.el: Remove obsolete definitions of backward
compatibility macros for defcustom, defgroup, defface, when,
unless, with-current-buffer and with-temp-message.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 25 Dec 2007 19:21:38 +0000 |
parents | ac7eee19fc7e |
children | 107ccd98fa12 56a72e2bd635 |
line wrap: on
line diff
--- a/lisp/progmodes/idlw-shell.el Mon Dec 24 08:00:52 2007 +0000 +++ b/lisp/progmodes/idlw-shell.el Tue Dec 25 19:21:38 2007 +0000 @@ -98,18 +98,6 @@ (eval-when-compile (require 'cl)) (defvar idlwave-shell-have-new-custom nil) -(eval-and-compile - ;; Kludge to allow `defcustom' for Emacs 19. - (condition-case () (require 'custom) (error nil)) - (if (and (featurep 'custom) - (fboundp 'custom-declare-variable) - (fboundp 'defface)) - ;; We've got what we needed - (setq idlwave-shell-have-new-custom t) - ;; We have the old or no custom-library, hack around it! - (defmacro defgroup (&rest args) nil) - (defmacro defcustom (var value doc &rest args) - `(defvar ,var ,value ,doc)))) ;;; Customizations: idlwave-shell group