Modularize add-log-current-defun.
[bpt/emacs.git] / lisp / ChangeLog
index 5740d79..c7fb5ca 100644 (file)
@@ -1,3 +1,87 @@
+2012-12-01  Chong Yidong  <cyd@gnu.org>
+
+       Modularize add-log-current-defun (Bug#2224).
+       Suggested by Jari Aalto.
+
+       * vc/add-log.el (add-log-current-defun-function): Doc fix.
+       (add-log-current-defun): Move mode-specific code to other files.
+       (add-log-lisp-like-modes, add-log-c-like-modes)
+       (add-log-tex-like-modes): Variables deleted.
+
+       * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
+       (lisp-mode-variables): Use it.
+
+       * progmodes/cc-mode.el (c-common-init):
+       * progmodes/cperl-mode.el (cperl-mode): Set a value for
+       add-log-current-defun-function.
+
+       * progmodes/m4-mode.el (m4-current-defun-name): New function.
+       (m4-mode): Use it.
+
+       * progmodes/perl-mode.el (perl-current-defun-name): New.
+       (perl-mode): Use it.
+
+       * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
+       lisp-current-defun-name.
+
+       * textmodes/tex-mode.el (tex-current-defun-name): New.
+       (tex-common-initialization): Use it.
+
+       * textmodes/texinfo.el (texinfo-current-defun-name): New.
+       (texinfo-mode): Use it.
+
+2012-12-01  Chong Yidong  <cyd@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
+       * progmodes/autoconf.el (autoconf-mode):
+       * progmodes/js.el (js-mode):
+       * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
+       (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
+       * progmodes/perl-mode.el (perl-mode):
+       * progmodes/sh-script.el (sh-mode, sh-set-shell):
+       * textmodes/css-mode.el (css-mode):
+       * textmodes/sgml-mode.el (html-mode, sgml-mode)
+       (sgml-tags-invisible, sgml-guess-indent):
+       * textmodes/tex-mode.el (tex-common-initialization)
+       (latex-complete-bibtex-keys, tex-shell, tex-main-file)
+       (doctex-mode, plain-tex-mode, latex-mode):
+       * textmodes/texinfo.el (texinfo-mode): Use setq-local.
+
+2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
+
+       * vc/vc-hg.el (vc-hg-next-revision):
+       Ensure use of default "tip" output format.  (Bug#6968)
+
+2012-12-01  Kim F. Storm  <storm@cua.dk>
+
+       * startup.el (fancy-startup-tail): Add a clickable link
+       (Bug#2176).
+
+2012-12-01  Chong Yidong  <cyd@gnu.org>
+
+       * startup.el (fancy-startup-tail): Improve the message about
+       auto-save files (Bug#2176).
+
+       * files.el (recover-session): Improve the descriptive message, and
+       use substitute-command-keys.
+
+2012-12-01  Glenn Morris  <rgm@gnu.org>
+
+       * ido.el (ido-file-internal):
+       Handle other-window, other-frame for dired.  (Bug#13036)
+
+2012-11-30  Glenn Morris  <rgm@gnu.org>
+
+       * icomplete.el (icomplete-separator): Fix :version.
+
+2012-11-30  Chong Yidong  <cyd@gnu.org>
+
+       * shell.el (shell): For C-u M-x shell, use an inactive shell
+       buffer as the default (Bug#1975).
+       (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
+       (shell-mode): Use them to reapply ansi colorization if Shell mode
+       is re-enabled.
+
 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
 
        * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).