comparison lisp/subr.el @ 388:498bcec1cf3a

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Wed, 14 Aug 1991 01:03:20 +0000
parents 9dab5ca1890f
children 70b112526394
comparison
equal deleted inserted replaced
387:8f76cc1e1067 388:498bcec1cf3a
178 (fset 'indent-to-column 'indent-to) 178 (fset 'indent-to-column 'indent-to)
179 (fset 'backward-delete-char 'delete-backward-char) 179 (fset 'backward-delete-char 'delete-backward-char)
180 (fset 'search-forward-regexp (symbol-function 're-search-forward)) 180 (fset 'search-forward-regexp (symbol-function 're-search-forward))
181 (fset 'search-backward-regexp (symbol-function 're-search-backward)) 181 (fset 'search-backward-regexp (symbol-function 're-search-backward))
182 182
183 ;;; global-map, esc-map, and ctl-x-map have their values set up
184 ;;; in keymap.c.
183 (defvar global-map nil 185 (defvar global-map nil
184 "Default global keymap mapping Emacs keyboard input into commands. 186 "Default global keymap mapping Emacs keyboard input into commands.
185 The value is a keymap which is usually (but not necessarily) Emacs's 187 The value is a keymap which is usually (but not necessarily) Emacs's
186 global map.") 188 global map.")
187 189
190 (defvar esc-map nil
191 "Default keymap for ESC (meta) commands.
192 The normal global definition of the character ESC indirects to this keymap.")
193
188 (defvar ctl-x-map nil 194 (defvar ctl-x-map nil
189 "Default keymap for C-x commands. 195 "Default keymap for C-x commands.
190 The normal global definition of the character C-x indirects to this keymap.") 196 The normal global definition of the character C-x indirects to this keymap.")
191 197
192 (defvar esc-map nil 198 (defvar ctl-x-4-map (make-sparse-keymap)
193 "Default keymap for ESC (meta) commands. 199 "Keymap for subcommands of C-x 4")
194 The normal global definition of the character ESC indirects to this keymap.") 200 (fset 'ctl-x-4-prefix ctl-x-4-map)
195 201 (define-key ctl-x-map "4" 'ctl-x-4-prefix)
196 (defvar mouse-map nil 202
197 "Keymap for mouse commands from the X window system.") 203 (defvar ctl-x-3-map (make-sparse-keymap)
204 "Keymap for screen commands.")
205 (fset 'ctl-x-3-prefix ctl-x-3-map)
206 (define-key ctl-x-map "3" 'ctl-x-3-prefix)
207
198 208
199 (defun run-hooks (&rest hooklist) 209 (defun run-hooks (&rest hooklist)
200 "Takes hook names and runs each one in turn. Major mode functions use this. 210 "Takes hook names and runs each one in turn. Major mode functions use this.
201 Each argument should be a symbol, a hook variable. 211 Each argument should be a symbol, a hook variable.
202 These symbols are processed in the order specified. 212 These symbols are processed in the order specified.