From 06e24ef7054b3753fdf4b1daadecd1de77b95145 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Apr 2005 16:40:24 +0000 Subject: [PATCH] (save-place-to-alist): Use with-no-warnings. --- lisp/saveplace.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/saveplace.el b/lisp/saveplace.el index cb61c8383b5..9dc7b858e37 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -166,7 +166,8 @@ To save places automatically in all files, put this in your `.emacs' file: (let ((cell (assoc buffer-file-name save-place-alist)) (position (if (not (eq major-mode 'hexl-mode)) (point) - (1+ (hexl-current-address))))) + (with-no-warnings + (1+ (hexl-current-address)))))) (if cell (setq save-place-alist (delq cell save-place-alist))) (if (and save-place -- 2.39.2