Delete some Emacs 19/21 compat code

* lisp/erc/erc-goodies.el (erc-occur):
* lisp/net/newst-plainview.el (newsticker--buffer-redraw): Delete
Emacs 21 compat code.
* lisp/progmodes/sql.el (sql-accumulate-and-indent): Delete Emacs
19 compat code.
This commit is contained in:
Stefan Kangas 2023-08-20 14:29:27 +02:00
parent fe0d134f48
commit c68d2581d5
3 changed files with 3 additions and 9 deletions

View file

@ -800,9 +800,7 @@ servers. If called from a program, PROC specifies the server process."
(list (read-string "Search for: ")
(if current-prefix-arg
nil erc-server-process)))
(if (fboundp 'multi-occur)
(multi-occur (erc-buffer-list nil proc) string)
(error "`multi-occur' is not defined as a function")))
(multi-occur (erc-buffer-list nil proc) string))
(provide 'erc-goodies)