[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107802: Remove ucs-set-table-for-inp
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107802: Remove ucs-set-table-for-input dead code |
Date: |
Sun, 08 Apr 2012 17:58:00 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107802
fixes bug(s): http://debbugs.gnu.org/9821
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2012-04-08 17:58:00 -0700
message:
Remove ucs-set-table-for-input dead code
This function was removed with ucs-tables.el in 2008.
* lisp/international/mule-cmds.el (set-default-coding-systems):
* lisp/files.el (normal-mode):
Remove guarded calls to ucs-set-table-for-input.
* src/buffer.c (Qucs_set_table_for_input): Remove.
(Fget_buffer_create): Don't call Qucs_set_table_for_input.
(init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
modified:
lisp/ChangeLog
lisp/files.el
lisp/international/mule-cmds.el
src/ChangeLog
src/buffer.c
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-04-08 17:09:03 +0000
+++ b/lisp/ChangeLog 2012-04-09 00:58:00 +0000
@@ -1,3 +1,10 @@
+2012-04-09 Glenn Morris <address@hidden>
+
+ * international/mule-cmds.el (set-default-coding-systems):
+ * files.el (normal-mode):
+ Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
+ This function was removed with ucs-tables.el in 2008.
+
2012-04-08 Eli Zaretskii <address@hidden>
* textmodes/ispell.el (ispell-check-version): For hunspell, set
=== modified file 'lisp/files.el'
--- a/lisp/files.el 2012-04-01 02:44:24 +0000
+++ b/lisp/files.el 2012-04-09 00:58:00 +0000
@@ -2205,10 +2205,7 @@
(boundp 'font-lock-keywords)
(eq (car font-lock-keywords) t))
(setq font-lock-keywords (cadr font-lock-keywords))
- (font-lock-mode 1))
-
- (if (fboundp 'ucs-set-table-for-input) ; don't lose when building
- (ucs-set-table-for-input)))
+ (font-lock-mode 1)))
(defcustom auto-mode-case-fold t
"Non-nil means to try second pass through `auto-mode-alist'.
=== modified file 'lisp/international/mule-cmds.el'
--- a/lisp/international/mule-cmds.el 2012-02-22 23:35:07 +0000
+++ b/lisp/international/mule-cmds.el 2012-04-09 00:58:00 +0000
@@ -353,10 +353,6 @@
if CODING-SYSTEM is ASCII-compatible"
(check-coding-system coding-system)
(setq-default buffer-file-coding-system coding-system)
- (if (fboundp 'ucs-set-table-for-input)
- (dolist (buffer (buffer-list))
- (or (local-variable-p 'buffer-file-coding-system buffer)
- (ucs-set-table-for-input buffer))))
(if (eq system-type 'darwin)
;; The file-name coding system on Darwin systems is always utf-8.
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-04-08 21:14:30 +0000
+++ b/src/ChangeLog 2012-04-09 00:58:00 +0000
@@ -1,3 +1,9 @@
+2012-04-09 Glenn Morris <address@hidden>
+
+ * buffer.c (Qucs_set_table_for_input): Remove. (Bug#9821)
+ (Fget_buffer_create): Don't call Qucs_set_table_for_input.
+ (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
+
2012-04-08 Andreas Schwab <address@hidden>
* lisp.h (struct Lisp_Symbol): Add explicit padding to ensure
=== modified file 'src/buffer.c'
--- a/src/buffer.c 2012-03-12 08:27:25 +0000
+++ b/src/buffer.c 2012-04-09 00:58:00 +0000
@@ -128,7 +128,6 @@
Lisp_Object Qfirst_change_hook;
Lisp_Object Qbefore_change_functions;
Lisp_Object Qafter_change_functions;
-static Lisp_Object Qucs_set_table_for_input;
static Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local;
static Lisp_Object Qpermanent_local_hook;
@@ -402,13 +401,6 @@
if (!NILP (Vrun_hooks))
call1 (Vrun_hooks, Qbuffer_list_update_hook);
- /* An error in calling the function here (should someone redefine it)
- can lead to infinite regress until you run out of stack. rms
- says that's not worth protecting against. */
- if (!NILP (Ffboundp (Qucs_set_table_for_input)))
- /* buffer is on buffer-alist, so no gcpro. */
- call1 (Qucs_set_table_for_input, buffer);
-
return buffer;
}
@@ -5043,8 +5035,6 @@
Qkill_buffer_hook = intern_c_string ("kill-buffer-hook");
Fput (Qkill_buffer_hook, Qpermanent_local, Qt);
- Qucs_set_table_for_input = intern_c_string ("ucs-set-table-for-input");
-
/* super-magic invisible buffer */
Vprin1_to_string_buffer = Fget_buffer_create (make_pure_c_string (" prin1"));
Vbuffer_alist = Qnil;
@@ -5200,9 +5190,6 @@
DEFSYM (Qafter_change_functions, "after-change-functions");
DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions");
- /* The next one is initialized in init_buffer_once. */
- staticpro (&Qucs_set_table_for_input);
-
Fput (Qprotected_field, Qerror_conditions,
pure_cons (Qprotected_field, pure_cons (Qerror, Qnil)));
Fput (Qprotected_field, Qerror_message,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107802: Remove ucs-set-table-for-input dead code,
Glenn Morris <=