]> git.eshelyaron.com Git - emacs.git/commitdiff
(save-place-to-alist): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 2005 16:40:24 +0000 (16:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 2005 16:40:24 +0000 (16:40 +0000)
lisp/saveplace.el

index cb61c8383b503d8038acd975d0087c53030b84d0..9dc7b858e3791022396137e77cf98995a26ba28a 100644 (file)
@@ -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