summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2008-04-14 15:46:06 +0000
committerTassilo Horn <tassilo@member.fsf.org>2008-04-14 15:46:06 +0000
commitadc95ad64feaf5a42345c086460377452b5f9cae (patch)
tree3719f50bea8fccd2dba9173e8aaee20c98479e5e
parent1f3e0cb5d235369585c9bb1c5fcca0b52d2ef7fd (diff)
downloademacs-adc95ad64feaf5a42345c086460377452b5f9cae.tar.gz
(doc-view-mode-map): Bind C-a to image-bol and C-e
to image-eol.
-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 07babb88d4b..937c4dfdc69 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
+
+ * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
+ to image-eol.
+
2008-04-14 Alexandre Julliard <julliard@winehq.org>
* vc.el (vc-status-update): Undo the previous revert.
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 718040a8fab..4e095c0e676 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