From: Stefan Monnier Date: Sat, 1 May 2010 01:39:58 +0000 (-0400) Subject: * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): Remove. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07125a915e33a3a5cadea27f3f43647969ebf496;p=emacs.git * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): Remove. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0c1ff471aeb..101ce8ec1d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-05-01 Stefan Monnier + * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): + Remove unused functions. + * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode. Set find-tag-default-function as a variable rather than a property. diff --git a/lisp/bindings.el b/lisp/bindings.el index 6534f44bf0c..05a0ac8bc11 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -62,24 +62,6 @@ corresponding to the mode line clicked." (force-mode-line-update))) -(defun mode-line-abbrev-mode (event) - "Turn off `abbrev-mode' from the mode-line." - (interactive "e") - (save-selected-window - (select-window (posn-window (event-start event))) - (abbrev-mode) - (force-mode-line-update))) - - -(defun mode-line-auto-fill-mode (event) - "Turn off `auto-fill-mode' from the mode-line." - (interactive "e") - (save-selected-window - (select-window (posn-window (event-start event))) - (auto-fill-mode) - (force-mode-line-update))) - - (defvar mode-line-input-method-map (let ((map (make-sparse-keymap))) (define-key map [mode-line mouse-2]