changeset 102541:cdeea75795b2

(doc-view-mode-map): Bind RET to image-next-line.
author Tassilo Horn <tassilo@member.fsf.org>
date Fri, 13 Mar 2009 21:03:21 +0000
parents e20845a91a71
children 1ed8eba93aec
files lisp/ChangeLog lisp/doc-view.el
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 13 20:45:14 2009 +0000
+++ b/lisp/ChangeLog	Fri Mar 13 21:03:21 2009 +0000
@@ -1,3 +1,7 @@
+2009-03-13  Tassilo Horn  <tassilo@member.fsf.org>
+
+	* doc-view.el (doc-view-mode-map): Bind RET to image-next-line.
+
 2009-03-13  Alexandre Julliard  <julliard@winehq.org>
 
 	* vc-git.el (vc-git-previous-revision, vc-git-next-revision):
--- a/lisp/doc-view.el	Fri Mar 13 20:45:14 2009 +0000
+++ b/lisp/doc-view.el	Fri Mar 13 21:03:21 2009 +0000
@@ -289,6 +289,7 @@
     (define-key map (kbd "M-<")       'doc-view-first-page)
     (define-key map (kbd "M->")       'doc-view-last-page)
     (define-key map [remap goto-line] 'doc-view-goto-page)
+    (define-key map (kbd "RET")       'image-next-line)
     ;; Zoom in/out.
     (define-key map "+"               'doc-view-enlarge)
     (define-key map "-"               'doc-view-shrink)