]> git.eshelyaron.com Git - emacs.git/commitdiff
(defgroup winner): Handle Emacs 19 compatibility so that definition
authorMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 11 Nov 2002 15:04:23 +0000 (15:04 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 11 Nov 2002 15:04:23 +0000 (15:04 +0000)
starts at beginning of line.

lisp/winner.el

index 56fbf4bc47ebd936b52dc831473aa64fb52b64e4..68c1df9f2b5bc458a81c522154e253ea0f119537 100644 (file)
 
 (require 'ring)
 
-(when (fboundp 'defgroup)
-  (defgroup winner nil
-    "Restoring window configurations."
-    :group 'windows))
+(unless (fboundp 'defgroup)
+  (defmacro defgroup (&rest rest)))
+
+(defgroup winner nil
+  "Restoring window configurations."
+  :group 'windows)
 
 (unless (fboundp 'defcustom)
   (defmacro defcustom (symbol &optional initvalue docs &rest rest)