changeset 106847:49daa9e9669f

Fix Bug#5311. * log-view.el (top-level): Require 'wid-edit. (Bug#5311) * wid-edit.el (widget-keymap): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 14 Jan 2010 19:59:04 -0800
parents f243845df25f
children a6629254b6ba fd03fa91837d
files lisp/ChangeLog lisp/log-view.el lisp/wid-edit.el
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jan 14 19:54:36 2010 -0800
+++ b/lisp/ChangeLog	Thu Jan 14 19:59:04 2010 -0800
@@ -1,5 +1,9 @@
 2010-01-15  Glenn Morris  <rgm@gnu.org>
 
+	* log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
+
+	* wid-edit.el (widget-keymap): Doc fix.
+
 	* vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
 	former seems to be more widely accepted by various svn versions.
 
--- a/lisp/log-view.el	Thu Jan 14 19:54:36 2010 -0800
+++ b/lisp/log-view.el	Thu Jan 14 19:59:04 2010 -0800
@@ -122,6 +122,9 @@
   :group 'pcl-cvs
   :prefix "log-view-")
 
+;; Needed because log-view-mode-map inherits from widget-keymap.  (Bug#5311)
+(require 'wid-edit)
+
 (easy-mmode-defmap log-view-mode-map
   '(("z" . kill-this-buffer)
     ("q" . quit-window)
--- a/lisp/wid-edit.el	Thu Jan 14 19:54:36 2010 -0800
+++ b/lisp/wid-edit.el	Thu Jan 14 19:59:04 2010 -0800
@@ -875,7 +875,8 @@
     (define-key map [(control ?m)] 'widget-button-press)
     map)
   "Keymap containing useful binding for buffers containing widgets.
-Recommended as a parent keymap for modes using widgets.")
+Recommended as a parent keymap for modes using widgets.
+Note that such modes will need to require wid-edit.")
 
 (defvar widget-global-map global-map
   "Keymap used for events a widget does not handle itself.")