2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
+ * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
+ set-keymap-parents if set-keymap-parent doesn't exist.
+
* vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
Allow more than one space before the |.
;; function is called from top-level forms that are evaluated
;; while cc-bytecomp is active when one does M-x eval-buffer.
(cond
- ;; XEmacs
- ((cc-bytecomp-fboundp 'set-keymap-parents)
- (set-keymap-parents map c-mode-base-map))
;; Emacs
((cc-bytecomp-fboundp 'set-keymap-parent)
(set-keymap-parent map c-mode-base-map))
+ ;; XEmacs
+ ((cc-bytecomp-fboundp 'set-keymap-parents)
+ (set-keymap-parents map c-mode-base-map))
;; incompatible
(t (error "CC Mode is incompatible with this version of Emacs")))
map))