1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
emacs/lisp/emulation
Richard M. Stallman cb96f0941a (pc-selection-mode-hook)
(pc-select-saved-settings-alist, pc-select-map)
(pc-select-saved-global-map, pc-select-key-bindings-alist)
(pc-select-default-key-bindings, pc-select-extra-key-bindings)
(pc-select-meta-moves-sexps-key-bindings)
(pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
New variables.
(pc-select-define-keys, pc-select-restore-keys): New functions.
(pc-select-add-to-alist, pc-select-save-and-set-var)
(pc-select-save-and-set-mode, pc-select-restore-var)
(pc-select-restore-mode): New macros.

(pc-selection-mode): Completely rewrote the body of the function;
the main goal was to make pc-selection-mode "turn-off"-able, like
other minor modes.  Use define-minore-mode instead of just a
defun.  Store the key bindings into four alists:
pc-select-default-key-bindings, pc-select-extra-key-bindings,
pc-select-meta-moves-sexps-key-bindings, and
pc-select-tty-key-bindings; then have the pc-select-define-keys
function walk those alists instead of calling define-key
repeatedly.  When the mode is turned on, set the
keybindings in global-map and remember the old keybindings; when
the mode is turned off, restore the previously-saved keybindings.

(pc-selection-mode defcustom): Reflect the fact that the mode is
now "turn-off"-able.
2002-01-26 22:47:39 +00:00
..
.gitignore ignore *.elc 2000-06-19 16:16:01 +00:00
crisp.el (brief-mode): New alias. 2000-05-21 17:33:05 +00:00
edt-lk201.el Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
edt-mapper.el Doc fix. 2001-12-20 19:01:00 +00:00
edt-pc.el Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
edt-vt100.el Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
edt.el Fix typo. 2002-01-12 21:41:26 +00:00
pc-mode.el Specify FSF as Maintainer. 2001-08-06 09:59:02 +00:00
pc-select.el (pc-selection-mode-hook) 2002-01-26 22:47:39 +00:00
tpu-edt.el (tpu-reset-screen-size): Use set-frame-height and set-frame-width instead 2001-12-25 11:22:35 +00:00
tpu-extras.el Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
tpu-mapper.el Doc fix. 2001-12-20 19:01:00 +00:00
vi.el Fixes to follow coding conventions. 2001-07-16 11:39:42 +00:00
vip.el Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
viper-cmd.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-ex.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-init.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-keym.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-macs.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-mous.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper-util.el 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-08 04:36:01 +00:00
viper.el 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu> 2002-01-09 17:33:15 +00:00
ws-mode.el Doc fix. 2001-12-20 19:01:00 +00:00