diff lisp/bookmark.el @ 5307:069c54e77fd1

Don't repeat at load time any bindings that are autoloaded.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 04:52:56 +0000
parents c4bab885aa8d
children 1b76cf849b2f
line wrap: on
line diff
--- a/lisp/bookmark.el	Thu Dec 23 04:47:13 1993 +0000
+++ b/lisp/bookmark.el	Thu Dec 23 04:52:56 1993 +0000
@@ -106,7 +106,8 @@
 ;; These are the distribution keybindings suggested by RMS, everything
 ;; else will be done with M-x or the menubar:
 ;;;###autoload
-(if (symbolp (key-binding "\C-xr"))
+(if (or (symbolp (key-binding "\C-xr"))
+	(fboundp 'bookmark-set))
     nil
   (progn (define-key ctl-x-map "rb" 'bookmark-jump)
          (define-key ctl-x-map "rm" 'bookmark-set)