comparison lisp/iswitchb.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 7c8949dbfa0d
children 0c4a74c24677 56a72e2bd635
comparison
equal deleted inserted replaced
87383:e8864ce8543f 87384:20bb7aaa7b12
248 (if (not (and (fboundp 'cadr) 248 (if (not (and (fboundp 'cadr)
249 (fboundp 'last))) 249 (fboundp 'last)))
250 (require 'cl)) 250 (require 'cl))
251 251
252 (require 'font-lock) 252 (require 'font-lock)
253
254 ;; Set up the custom library.
255 ;; taken from http://www.dina.kvl.dk/~abraham/custom/
256 (eval-and-compile
257 (condition-case ()
258 (require 'custom)
259 (error nil))
260 (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
261 nil ;; We've got what we needed
262 ;; We have the old custom-library, hack around it!
263 (defmacro defgroup (&rest args)
264 nil)
265 (defmacro defcustom (var value doc &rest args)
266 `(defvar ,var ,value ,doc))))
267 253
268 ;;; User Variables 254 ;;; User Variables
269 ;; 255 ;;
270 ;; These are some things you might want to change. 256 ;; These are some things you might want to change.
271 257