From: Tassilo Horn Date: Mon, 14 Apr 2008 15:46:06 +0000 (+0000) Subject: (doc-view-mode-map): Bind C-a to image-bol and C-e X-Git-Tag: emacs-pretest-23.0.90~6280 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=adc95ad64feaf5a42345c086460377452b5f9cae;p=emacs.git (doc-view-mode-map): Bind C-a to image-bol and C-e to image-eol. --- 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 + + * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e + to image-eol. + 2008-04-14 Alexandre Julliard * 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