comparison lisp/doc-view.el @ 94080:04ee1c8850e4

(doc-view-mode-map): Bind C-a to image-bol and C-e to image-eol.
author Tassilo Horn <tassilo@member.fsf.org>
date Mon, 14 Apr 2008 15:45:37 +0000
parents b31c348d0336
children 41edf72809eb
comparison
equal deleted inserted replaced
94079:6959b3443fea 94080:04ee1c8850e4
308 (define-key map (kbd "<find>") 'doc-view-search) 308 (define-key map (kbd "<find>") 'doc-view-search)
309 (define-key map (kbd "C-r") 'doc-view-search-backward) 309 (define-key map (kbd "C-r") 'doc-view-search-backward)
310 ;; Scrolling 310 ;; Scrolling
311 (define-key map [remap forward-char] 'image-forward-hscroll) 311 (define-key map [remap forward-char] 'image-forward-hscroll)
312 (define-key map [remap backward-char] 'image-backward-hscroll) 312 (define-key map [remap backward-char] 'image-backward-hscroll)
313 (define-key map [remap move-end-of-line] 'image-eol)
314 (define-key map [remap move-beginning-of-line] 'image-bol)
313 (define-key map [remap next-line] 'image-next-line) 315 (define-key map [remap next-line] 'image-next-line)
314 (define-key map [remap previous-line] 'image-previous-line) 316 (define-key map [remap previous-line] 'image-previous-line)
315 ;; Show the tooltip 317 ;; Show the tooltip
316 (define-key map (kbd "C-t") 'doc-view-show-tooltip) 318 (define-key map (kbd "C-t") 'doc-view-show-tooltip)
317 ;; Toggle between text and image display or editing 319 ;; Toggle between text and image display or editing