aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-11-28 03:57:52 +0000
committerGlenn Morris <[email protected]>2007-11-28 03:57:52 +0000
commit0dcd12a119a5e13cc9ef183540f950c31e6341ea (patch)
tree6908bdb57f6a501644ad492f04babe21a2d49903 /lisp
parent552939e461b1945c0d920d20510398ccd7a16e9e (diff)
(edt-user-emulation-setup): Test edt-setup-user-bindings is bound
before calling.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emulation/edt.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index d61ef9725f..d43c118f4e 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -2229,7 +2229,10 @@ Optional argument USER-SETUP non-nil means called from function
;; function edt-setup-extra-default-bindings.
(define-prefix-command 'edt-user-gold-map)
(fset 'edt-user-gold-map (copy-keymap 'edt-default-gold-map))
- (edt-setup-user-bindings)
+ ;; This is a function that the user can define for custom bindings.
+ ;; See etc/edt-user.doc.
+ (if (fboundp 'edt-setup-user-bindings)
+ (edt-setup-user-bindings))
(edt-select-user-global-map))
(defun edt-select-default-global-map()