changeset 56887:25a1d37d22fb

Add ASCII equivalents for some function keys. (mode-line-frame-identification): Sync with x-win.el.
author Steven Tamm <steventamm@mac.com>
date Thu, 02 Sep 2004 16:59:18 +0000
parents 2d8aa6e59b6b
children a81166121d93
files lisp/term/mac-win.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/mac-win.el	Thu Sep 02 16:40:38 2004 +0000
+++ b/lisp/term/mac-win.el	Thu Sep 02 16:59:18 2004 +0000
@@ -141,6 +141,9 @@
 	   (if clipboard
 	       (decode-coding-string clipboard selection-coding-system t)))))
 
+;; Don't show the frame name; that's redundant.
+(setq-default mode-line-frame-identification "  ")
+
 (defun mac-drag-n-drop (event)
   "Edit the files listed in the drag-n-drop event.\n\
 Switch to a buffer editing the last file dropped."
@@ -262,6 +265,9 @@
 
 ;; Tell read-char how to convert special chars to ASCII
 (put 'return 'ascii-character 13)
+(put 'tab 'ascii-character ?\t)
+(put 'backspace 'ascii-character 127)
+(put 'escape 'ascii-character ?\e)
 
 ;;
 ;; Available colors