Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e873bbf9
Commit
e873bbf9
authored
Jun 13, 2004
by
Richard M. Stallman
Browse files
Doc fixes: say "PC Selection mode", not "`pc-selection-mode'".
parent
1d5c17c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
lisp/emulation/pc-select.el
lisp/emulation/pc-select.el
+14
-13
No files found.
lisp/emulation/pc-select.el
View file @
e873bbf9
...
...
@@ -61,7 +61,7 @@
;; Eli Barzilay (eli@cs.bgu.ac.il) suggested the sexps functions and
;; keybindings.
;;
;; Ok, some details about the idea of
pc-s
election
-
mode:
;; Ok, some details about the idea of
PC S
election
mode:
;;
;; o The standard keys for moving around (right, left, up, down, home, end,
;; prior, next, called "move-keys" from now on) will always de-activate
...
...
@@ -114,23 +114,23 @@ This gives mostly Emacs-like behaviour with only the selection keys enabled."
:group
'pc-select
)
(
defvar
pc-select-saved-settings-alist
nil
"The values of the variables before
`pc-s
election
-
mode
'
was toggled on.
When
`pc-s
election
-
mode
'
is toggled on, it sets quite a few variables
"The values of the variables before
PC S
election
mode was toggled on.
When
PC S
election
mode is toggled on, it sets quite a few variables
for its own purposes. This alist holds the original values of the
variables
`pc-s
election
-
mode
'
had set, so that these variables can be
restored to their original values when
`pc-s
election
-
mode
'
is toggled off."
)
variables
PC S
election
mode had set, so that these variables can be
restored to their original values when
PC S
election
mode is toggled off."
)
(
defvar
pc-select-map
nil
"The keymap used as the global map when
`pc-s
election
-
mode
'
is on."
)
"The keymap used as the global map when
PC S
election
mode is on."
)
(
defvar
pc-select-saved-global-map
nil
"The global map that was in effect when
`pc-s
election
-
mode
'
was toggled on."
)
"The global map that was in effect when
PC S
election
mode was toggled on."
)
(
defvar
pc-select-key-bindings-alist
nil
"This alist holds all the key bindings
`pc-s
election
-
mode
'
sets."
)
"This alist holds all the key bindings
PC S
election
mode sets."
)
(
defvar
pc-select-default-key-bindings
nil
"These key bindings always get set by
`pc-s
election
-
mode
'
."
)
"These key bindings always get set by
PC S
election
mode."
)
(
unless
pc-select-default-key-bindings
(
let
((
lst
...
...
@@ -250,7 +250,7 @@ These key bindings get installed when running in a tty, but only if
(
defvar
pc-select-old-M-delete-binding
nil
"Holds the old mapping of [M-delete] in the `function-key-map'.
This variable holds the value associated with [M-delete] in the
`function-key-map' before
`pc-s
election
-
mode
'
had changed that
`function-key-map' before
PC S
election
mode had changed that
association."
)
;;;;
...
...
@@ -842,7 +842,7 @@ M-LEFT and M-RIGHT move back or forward one word or sexp, disabling the mark.
S-M-LEFT and S-M-RIGHT move back or forward one word or sexp, leaving the mark
behind. To control whether these keys move word-wise or sexp-wise set the
variable `pc-select-meta-moves-sexps' after loading pc-select.el but before
turning
`pc-s
election
-
mode
'
on.
turning
PC S
election
mode on.
C-DOWN and C-UP move back or forward a paragraph, disabling the mark.
S-C-DOWN and S-C-UP move back or forward a paragraph, leaving the mark behind.
...
...
@@ -864,7 +864,7 @@ C-INSERT copies the region into the kill ring (`copy-region-as-kill').
In addition, certain other PC bindings are imitated (to avoid this, set
the variable `pc-select-selection-keys-only' to t after loading pc-select.el
but before calling
`pc-s
election
-
mode
'
):
but before calling
PC S
election
mode):
F6 other-window
DELETE delete-char
...
...
@@ -974,7 +974,8 @@ but before calling `pc-selection-mode'):
Change mark behaviour to emulate Motif, MAC or MS-Windows cut and paste style,
and cursor movement commands.
This mode enables Delete Selection mode and Transient Mark mode.
You must modify via \\[customize] for this variable to have an effect."
Setting this variable directly does not take effect;
you must modify it using \\[customize] or \\[pc-selection-mode]."
:set
(
lambda
(
symbol
value
)
(
pc-selection-mode
(
if
value
1
-1
)))
:initialize
'custom-initialize-default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment