X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5ae255c7e9a2bd1ac594afe99fb24e9a0091d414..af39894ab4b8a68eef14b39c030577b419a582a8:/lisp/hexl.el diff --git a/lisp/hexl.el b/lisp/hexl.el index bedcc6b10b..7dd3980795 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -41,7 +41,7 @@ ;;; Code: (require 'eldoc) -(eval-when-compile (require 'cl)) +(eval-when-compile (require 'cl-lib)) ;; ;; vars here @@ -58,7 +58,7 @@ (const 32) (const 64)) :group 'hexl - :version "24.2") + :version "24.3") (defcustom hexl-program "hexl" "The program that will hexlify and dehexlify its stdin. @@ -420,8 +420,7 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode. " \\(?: .+\n[a-f0-9]+: \\)?")) textre)) bound noerror count)) - (let ((isearch-search-fun-function nil)) - (isearch-search-fun)))) + (isearch-search-fun-default))) (defvar hexl-in-save-buffer nil) @@ -463,7 +462,7 @@ and edit the file in `hexl-mode'." (let ((completion-ignored-extensions nil)) (read-file-name "Filename: " nil nil 'ret-must-match)))) ;; Ignore the user's setting of default major-mode. - (letf (((default-value 'major-mode) 'fundamental-mode)) + (cl-letf (((default-value 'major-mode) 'fundamental-mode)) (find-file-literally filename)) (if (not (eq major-mode 'hexl-mode)) (hexl-mode)))