changeset 61766:d4abeb773782

(save-place-to-alist): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 2005 16:40:24 +0000
parents d9587a02572b
children 589fa38a51d4
files lisp/saveplace.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/saveplace.el	Sat Apr 23 16:39:54 2005 +0000
+++ b/lisp/saveplace.el	Sat Apr 23 16:40:24 2005 +0000
@@ -166,7 +166,8 @@
         (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