aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-10-01 19:46:13 -0700
committerGlenn Morris2010-10-01 19:46:13 -0700
commit3226d6cacf15156b8760600be0c6b2aac4dac26d (patch)
treeb258fef6db752b6ccaff25e39297389b9c4e67c3 /src
parent9c524fcb89871b321844de7297a1baee0bde0376 (diff)
downloademacs-3226d6cacf15156b8760600be0c6b2aac4dac26d.tar.gz
emacs-3226d6cacf15156b8760600be0c6b2aac4dac26d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/character.c11
2 files changed, 3 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a87b0bc49c2..292dc31b5e3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-10-02 Glenn Morris <rgm@gnu.org> 12010-10-02 Glenn Morris <rgm@gnu.org>
2 2
3 * character.c (Fchar_bytes): Remove obsolete function.
4 (syms_of_character): Remove Schar_bytes.
5
3 * emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT. 6 * emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
4 (main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal 7 (main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
5 in batch-mode. 8 in batch-mode.
diff --git a/src/character.c b/src/character.c
index d80f8139486..1c8fae88176 100644
--- a/src/character.c
+++ b/src/character.c
@@ -336,16 +336,6 @@ If the multibyte character does not represent a byte, return -1. */)
336 } 336 }
337} 337}
338 338
339DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0,
340 doc: /* Return 1 regardless of the argument CHAR.
341This is now an obsolete function. We keep it just for backward compatibility.
342usage: (char-bytes CHAR) */)
343 (Lisp_Object ch)
344{
345 CHECK_CHARACTER (ch);
346 return make_number (1);
347}
348
349DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, 339DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0,
350 doc: /* Return width of CHAR when displayed in the current buffer. 340 doc: /* Return width of CHAR when displayed in the current buffer.
351The width is measured by how many columns it occupies on the screen. 341The width is measured by how many columns it occupies on the screen.
@@ -1073,7 +1063,6 @@ syms_of_character (void)
1073 defsubr (&Scharacterp); 1063 defsubr (&Scharacterp);
1074 defsubr (&Sunibyte_char_to_multibyte); 1064 defsubr (&Sunibyte_char_to_multibyte);
1075 defsubr (&Smultibyte_char_to_unibyte); 1065 defsubr (&Smultibyte_char_to_unibyte);
1076 defsubr (&Schar_bytes);
1077 defsubr (&Schar_width); 1066 defsubr (&Schar_width);
1078 defsubr (&Sstring_width); 1067 defsubr (&Sstring_width);
1079 defsubr (&Schar_direction); 1068 defsubr (&Schar_direction);