]> git.eshelyaron.com Git - emacs.git/commitdiff
Add ASCII equivalents for some function keys.
authorSteven Tamm <steventamm@mac.com>
Thu, 2 Sep 2004 16:59:18 +0000 (16:59 +0000)
committerSteven Tamm <steventamm@mac.com>
Thu, 2 Sep 2004 16:59:18 +0000 (16:59 +0000)
(mode-line-frame-identification): Sync with x-win.el.

lisp/term/mac-win.el

index e42c2151701d00ddbfe8dd09c718929258090f0e..c0ea7a9385ee65e91e314978c7fe87833631e326 100644 (file)
           (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 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
 
 ;; 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