* turn off autopair mode (when enabled) in mu4e-view mode, as it conflicts
This commit is contained in:
@ -260,13 +260,13 @@ is nil, and otherwise open it."
|
|||||||
;; intra-message navigation
|
;; intra-message navigation
|
||||||
(define-key map (kbd "SPC") 'scroll-up)
|
(define-key map (kbd "SPC") 'scroll-up)
|
||||||
(define-key map (kbd "<home>")
|
(define-key map (kbd "<home>")
|
||||||
'(lambda () (interactive) (goto-char (point-min))))
|
#'(lambda () (interactive) (goto-char (point-min))))
|
||||||
(define-key map (kbd "<end>")
|
(define-key map (kbd "<end>")
|
||||||
'(lambda () (interactive) (goto-char (point-max))))
|
#'(lambda () (interactive) (goto-char (point-max))))
|
||||||
(define-key map (kbd "RET")
|
(define-key map (kbd "RET")
|
||||||
'(lambda () (interactive) (scroll-up 1)))
|
#'(lambda () (interactive) (scroll-up 1)))
|
||||||
(define-key map (kbd "<backspace>")
|
(define-key map (kbd "<backspace>")
|
||||||
'(lambda () (interactive) (scroll-up -1)))
|
#'(lambda () (interactive) (scroll-up -1)))
|
||||||
|
|
||||||
;; navigation between messages
|
;; navigation between messages
|
||||||
(define-key map "p" 'mu4e-view-prev-header)
|
(define-key map "p" 'mu4e-view-prev-header)
|
||||||
@ -377,6 +377,11 @@ is nil, and otherwise open it."
|
|||||||
|
|
||||||
(setq buffer-undo-list t) ;; don't record undo info
|
(setq buffer-undo-list t) ;; don't record undo info
|
||||||
|
|
||||||
|
;; autopair mode gives error when pressing RET
|
||||||
|
;; turn it off
|
||||||
|
(when (boundp 'autopair-dont-activate)
|
||||||
|
(setq autopair-dont-activate t))
|
||||||
|
|
||||||
;; filladapt is much better than the built-in filling
|
;; filladapt is much better than the built-in filling
|
||||||
;; esp. with '>' cited parts
|
;; esp. with '>' cited parts
|
||||||
(when (fboundp 'filladapt-mode)
|
(when (fboundp 'filladapt-mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user