Misc changes in gnus-group.el and gnus-topic.el
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 13 Apr 2015 22:18:12 +0000 (22:18 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 13 Apr 2015 22:18:12 +0000 (22:18 +0000)
commit3fbc26c0446ad055ac8d8bc9fdf28bb7c3a73349
tree9c8db4e6a7894498aba00d73076b5040e65d6374
parent4279e80ebe48253565b74e3fa5249d9ced7f0a92
Misc changes in gnus-group.el and gnus-topic.el

* gnus-group.el (gnus-tmp-*): Declare.
(gnus-update-group-mark-positions): Remove unused `topic' var.
(gnus-group-insert-group-line): Remove unused var `header'.
(gnus-group--setup-tool-bar-update): New function.
(gnus-group-insert-group-line): Use it.
(gnus-group-update-eval-form): Declare local
dynamically-bound variables.
(gnus-group-unsubscribe-group): Use \` and \' to match string bounds.

* gnus-topic.el (gnus-topic-jump-to-topic)
(gnus-group-prepare-topics, gnus-topic-update-topic)
(gnus-topic-change-level, gnus-topic-catchup-articles)
(gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
Use inhibit-read-only.
(gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
(gnus-topic-mode): Use define-minor-mode and derived-mode-p.
lisp/ChangeLog
lisp/gnus-group.el
lisp/gnus-topic.el