aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/doc-view.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 07babb88d4..937c4dfdc6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-14 Tassilo Horn <[email protected]>
+
+ * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
+ to image-eol.
+
2008-04-14 Alexandre Julliard <[email protected]>
* vc.el (vc-status-update): Undo the previous revert.
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 718040a8fa..4e095c0e67 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -310,6 +310,8 @@ Can be `dvi', `pdf', or `ps'.")
;; Scrolling
(define-key map [remap forward-char] 'image-forward-hscroll)
(define-key map [remap backward-char] 'image-backward-hscroll)
+ (define-key map [remap move-end-of-line] 'image-eol)
+ (define-key map [remap move-beginning-of-line] 'image-bol)
(define-key map [remap next-line] 'image-next-line)
(define-key map [remap previous-line] 'image-previous-line)
;; Show the tooltip