* 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.
(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)
(defun newsticker--buffer-redraw ()
"Redraw the newsticker window."
- (if (fboundp 'force-window-update)
- (force-window-update (current-buffer))
- (redraw-frame))
+ (force-window-update (current-buffer))
(run-hooks 'newsticker-buffer-change-hook)
(sit-for 0))
(defun sql-accumulate-and-indent ()
"Continue SQL statement on the next line."
(interactive)
- (if (fboundp 'comint-accumulate)
- (comint-accumulate)
- (newline))
+ (comint-accumulate)
(indent-according-to-mode))
(defun sql-help-list-products (indent freep)