summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMarkus Rost <rost@math.uni-bielefeld.de>2002-11-11 15:04:23 +0000
committerMarkus Rost <rost@math.uni-bielefeld.de>2002-11-11 15:04:23 +0000
commited0d58c91f39858b5df64813336a173da93f7d80 (patch)
treeea247a1379fa8cb14b8014611a7d0964531fa240 /lisp
parentbca3689a2c03d1f3c8041a83c1e09001b681d4c4 (diff)
downloademacs-ed0d58c91f39858b5df64813336a173da93f7d80.tar.gz
(defgroup winner): Handle Emacs 19 compatibility so that definition
starts at beginning of line.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/winner.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/winner.el b/lisp/winner.el
index 56fbf4bc47e..68c1df9f2b5 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -70,10 +70,12 @@
(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)