Mercurial > emacs
comparison lisp/iswitchb.el @ 110695:515d80e174ba
Remove some functions, variables and aliases obsolete since at least 21.1.
* doc/misc/misc.texi (Shell Mode): Remove reference to old function name.
* src/character.c (Fchar_bytes): Remove obsolete function.
(syms_of_character): Remove Schar_bytes.
* lisp/subr.el (char-bytes): Remove obsolete function.
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
* lisp/isearch.el (isearch-return-char): Remove obsolete function.
* lisp/mouse.el: No longer provide mldrag.
(mldrag-drag-mode-line, mldrag-drag-vertical-line):
Remove obsolete aliases.
* lisp/comint.el (comint-kill-output): Remove obsolete alias.
* lisp/shell.el: Comment fix.
* lisp/composite.el (decompose-composite-char): Remove obsolete function.
* lisp/ps-def.el (decompose-composite-char): Remove unused function.
* lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
* lisp/outline.el (outline-visible): Remove obsolete function.
* lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
* lisp/faces.el (internal-find-face, internal-get-face)
(frame-update-faces, frame-update-face-colors)
(x-frob-font-weight, x-frob-font-slant)
(internal-frob-font-weight, internal-frob-font-slant)
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Remove functions and aliases, obsolete
since Emacs 21.1.
* lisp/emulation/viper-util.el (viper-get-face):
* lisp/obsolete/lucid.el (find-face, get-face): Use facep.
* lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
Remove unused functions.
* lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.
* etc/NEWS: Mention above changes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 01 Oct 2010 19:46:13 -0700 |
parents | c5974968dea9 |
children | 450eb2e9d20d |
comparison
equal
deleted
inserted
replaced
110694:0554c384e09f | 110695:515d80e174ba |
---|---|
1 ;;; iswitchb.el --- switch between buffers using substrings | 1 ;;; iswitchb.el --- switch between buffers using substrings |
2 | 2 |
3 ;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, | 3 ;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
4 ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 ;; 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Stephen Eglen <stephen@gnu.org> | 6 ;; Author: Stephen Eglen <stephen@gnu.org> |
7 ;; Maintainer: Stephen Eglen <stephen@gnu.org> | 7 ;; Maintainer: Stephen Eglen <stephen@gnu.org> |
8 ;; Keywords: completion convenience | 8 ;; Keywords: completion convenience |
9 | 9 |
1116 (if (memq buffer blist) | 1116 (if (memq buffer blist) |
1117 nil | 1117 nil |
1118 ;; maybe in other frame or icon | 1118 ;; maybe in other frame or icon |
1119 (get-buffer-window buffer 0) ; better than 'visible | 1119 (get-buffer-window buffer 0) ; better than 'visible |
1120 ))) | 1120 ))) |
1121 | |
1122 (defun iswitchb-default-keybindings () | |
1123 "Set up default keybindings for `iswitchb-buffer'. | |
1124 Call this function to override the normal bindings. This function also | |
1125 adds a hook to the minibuffer." | |
1126 (interactive) | |
1127 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
1128 (global-set-key "\C-xb" 'iswitchb-buffer) | |
1129 (global-set-key "\C-x4b" 'iswitchb-buffer-other-window) | |
1130 (global-set-key "\C-x4\C-o" 'iswitchb-display-buffer) | |
1131 (global-set-key "\C-x5b" 'iswitchb-buffer-other-frame)) | |
1132 | |
1133 (make-obsolete 'iswitchb-default-keybindings 'iswitchb-mode "21.1") | |
1134 | 1121 |
1135 (defun iswitchb-buffer () | 1122 (defun iswitchb-buffer () |
1136 "Switch to another buffer. | 1123 "Switch to another buffer. |
1137 | 1124 |
1138 The buffer name is selected interactively by typing a substring. The | 1125 The buffer name is selected interactively by typing a substring. The |