+2008-04-26 John Paul Wallington <jpw@pobox.com>
+
+ * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
+ `hexl-mode-old-eldoc-documentation-function'.
+ (hexl-mode-exit): Restore it.
+ (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
+
+ * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
+
2008-04-26 Juanma Barranquero <lekktu@gmail.com>
* minibuffer.el (completion-pcm-word-delimiters): Add :group.
(defvar hexl-mode-old-require-final-newline)
(defvar hexl-mode-old-syntax-table)
(defvar hexl-mode-old-font-lock-keywords)
+(defvar hexl-mode-old-eldoc-documentation-function)
(defvar hexl-ascii-overlay nil
"Overlay used to highlight ASCII element corresponding to current point.")
(add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t)
;; Set a callback function for eldoc.
+ (make-local-variable 'hexl-mode-old-eldoc-documentation-function)
+ (setq hexl-mode-old-eldoc-documentation-function
+ (bound-and-true-p eldoc-documentation-function))
+
(set (make-local-variable 'eldoc-documentation-function)
'hexl-print-current-point-info)
(eldoc-add-command-completions "hexl-")
(when (boundp 'hexl-mode-old-hl-line-face)
(setq hl-line-face hexl-mode-old-hl-line-face))
+ (when (boundp 'hexl-mode-old-eldoc-documentation-function)
+ (setq eldoc-documentation-function
+ hexl-mode-old-eldoc-documentation-function))
+
(setq require-final-newline hexl-mode-old-require-final-newline)
(setq mode-name hexl-mode-old-mode-name)
(setq isearch-search-fun-function hexl-mode-old-isearch-search-fun-function)