Skip to content

Commit 494b3c6

Browse files
committed
Use erc-autoaway-idle-method in prelude-erc
erc-autoaway-use-emacs-idle was removed from ERC; idle source is now selected via erc-autoaway-idle-method (with values 'user, 'emacs, or 'irc). The old setq was a silent no-op.
1 parent de613b8 commit 494b3c6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
- Update `prelude-helm` to current upstream variable/function names: rename `helm-google-suggest-use-curl-p` to `helm-net-prefer-curl` (deprecated alias since helm 1.7.7), rename `helm-split-window-in-side-p` to `helm-split-window-inside-p` (deprecated alias since helm 2.8.6), drop `helm-ff-file-name-history-use-recentf` (removed from helm; behavior is now unconditional), and drop the `C-c w` binding to `helm-wikipedia-suggest` (function moved to a separate `helm-wikipedia` package).
1414
- Drop `C-c C-l` binding to `helm-comint-input-ring` in `prelude-helm-everywhere` -- that command was removed from upstream helm.
15+
- Replace stale `erc-autoaway-use-emacs-idle` setting in `prelude-erc` with `(setq erc-autoaway-idle-method 'emacs)` (the old variable was removed; idle source is now selected via `erc-autoaway-idle-method`).
1516
- [#1450](https://github.com/bbatsov/prelude/issues/1450): Remove broken `slime-complete-symbol-function` setting in `prelude-common-lisp` (referenced an undefined `slime-flex-completions` symbol; the variable itself has been obsolete since 2015).
1617
- Fix `prelude-ocaml` integration with `neocaml`: hook into `neocaml-base-mode` (so `.mli` files are covered), enable `ocaml-eglot-mode` properly, and call `prelude-lsp-enable` so the LSP server actually starts.
1718
- Use `ocaml-eglot-mode` instead of the obsolete `ocaml-eglot` alias (renamed in `ocaml-eglot` 1.4.0).

modules/prelude-erc.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ that can occur between two notifications. The default is
102102
;; autoaway setup
103103
(setq erc-auto-discard-away t)
104104
(setq erc-autoaway-idle-seconds 600)
105-
(setq erc-autoaway-use-emacs-idle t)
105+
(setq erc-autoaway-idle-method 'emacs)
106106

107107
;; utf-8 always and forever
108108
(setq erc-server-coding-system '(utf-8 . utf-8))

0 commit comments

Comments
 (0)