]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some XEmacs compat code from flyspell.el
authorStefan Kangas <stefan@marxist.se>
Fri, 13 May 2022 20:21:35 +0000 (22:21 +0200)
committerStefan Kangas <stefan@marxist.se>
Fri, 13 May 2022 21:17:16 +0000 (23:17 +0200)
* lisp/textmodes/flyspell.el (flyspell-display-next-corrections):
Remove XEmacs compat code.

lisp/textmodes/flyspell.el

index 5de04b12d4639e18877cc1419f62c5bccca0ce8a..2c5e30fecd8f09ac21cf0042629cbd2844663a41 100644 (file)
@@ -1942,9 +1942,7 @@ before point that's highlighted as misspelled."
                           'face 'flyspell-incorrect
                           string))
       (setq pos (cdr pos)))
-    (if (fboundp 'display-message)
-       (display-message 'no-log string)
-      (message "%s" string))))
+    (message "%s" string)))
 
 ;;*---------------------------------------------------------------------*/
 ;;*    flyspell-abbrev-table ...                                        */