+2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * reveal.el (reveal-mode-map): New var.
+ (reveal-mode): Use it.
+
2004-11-23 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-flush-pending-output): New variable.
(overlay-put ol 'invisible inv))))))))
(error (message "Reveal: %s" err)))))
+(defvar reveal-mode-map
+ (let ((map (make-sparse-keymap)))
+ ;; Override the default move-end-of-line which skips valuable
+ ;; invisible text.
+ (define-key map [?\C-e] 'end-of-line)
+ map))
+
;;;###autoload
(define-minor-mode reveal-mode
"Toggle Reveal mode on or off.
With universal prefix ARG (or if ARG is nil) turn mode on.
With zero or negative ARG turn mode off."
:lighter (global-reveal-mode nil " Reveal")
+ :keymap reveal-mode-map
(if reveal-mode
(progn
(set (make-local-variable 'search-invisible) t)