emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/spell.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/spell.el,v
Date: Fri, 22 Feb 2008 03:57:29 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/02/22 03:57:29

Index: spell.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/spell.el,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- spell.el    21 Feb 2008 09:00:51 -0000      1.27
+++ spell.el    22 Feb 2008 03:57:29 -0000      1.28
@@ -61,7 +61,9 @@
 If you do not want to change a word, just give the same word
 as its \"correct\" spelling; then the query replace is skipped."
   (interactive)
-  (spell-region (point-min) (point-max) "buffer"))
+  ;; Don't warn about spell-region being obsolete.
+  (with-no-warnings
+    (spell-region (point-min) (point-max) "buffer")))
 ;;;###autoload
 (make-obsolete 'spell-buffer 'ispell-buffer "23.1")
 
@@ -78,7 +80,9 @@
      (setq beg (point))
      (forward-word 1)
      (setq end (point)))
-    (spell-region beg end (buffer-substring beg end))))
+    ;; Don't warn about spell-region being obsolete.
+    (with-no-warnings
+      (spell-region beg end (buffer-substring beg end)))))
 ;;;###autoload
 (make-obsolete 'spell-word 'ispell-word "23.1")
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]