aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2002-09-13 16:22:04 +0000
committerStefan Monnier <[email protected]>2002-09-13 16:22:04 +0000
commit12a117459853e500e3978ef34a19af72a674d648 (patch)
treeafa0f55ff748fd6f8ee1880c71583ae103d154c6 /lisp
parent82dc968ca9ed66f4137bebd026c3ece0e3b2f3f3 (diff)
(define-derived-mode): Properly ignore unknown args.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog14
-rw-r--r--lisp/derived.el4
2 files changed, 14 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab4b4495b4..c56b9536f9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,10 +1,20 @@
+2002-09-13 Stefan Monnier <[email protected]>
+
+ * derived.el (define-derived-mode): Properly ignore unknown args.
+
+ * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
+ Don't call the function during init if mode is on by default.
+
+ * simple.el: Provide `simple'.
+ (transient-mark-mode, line-number-mode, column-number-mode):
+ Pass an explicit `:require nil' argument.
+
2002-09-13 Francesco Potorti` <[email protected]>
* play/tetris.el (tetris-blank-options, tetris-cell-options):
Remove various redundant `(t nil)'.
- * play/snake.el (snake-border-options): Use color on tty if
- available.
+ * play/snake.el (snake-border-options): Use color on tty if available.
* play/tetris.el (tetris-border-options): Likewise.
diff --git a/lisp/derived.el b/lisp/derived.el
index d11a58a19d..0cb2fd2d57 100644
--- a/lisp/derived.el
+++ b/lisp/derived.el
@@ -178,8 +178,8 @@ been generated automatically, with a reference to the keymap."
(case (pop body)
(:group (setq group (pop body)))
(:abbrev-table (setq abbrev (pop body)) (setq declare-abbrev nil))
- (:syntax-table (setq syntax (pop body)) (setq declare-syntax nil))))
-
+ (:syntax-table (setq syntax (pop body)) (setq declare-syntax nil))
+ (t (pop body))))
(setq docstring (derived-mode-make-docstring
parent child docstring syntax abbrev))