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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
c818754b
Commit
c818754b
authored
Nov 21, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fix.
parent
f39f5da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/keymap.c
src/keymap.c
+6
-0
No files found.
src/keymap.c
View file @
c818754b
...
...
@@ -507,6 +507,8 @@ DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0,
"Args KEYMAP, KEY, DEF. Define key sequence KEY, in KEYMAP, as DEF.
\n
\
KEYMAP is a keymap. KEY is a string or a vector of symbols and characters
\n
\
meaning a sequence of keystrokes and events.
\n
\
Non-ASCII characters with codes above 127 (such as ISO Latin-1)
\n
\
can be included if you use a vector.
\n
\
DEF is anything that can be a key's definition:
\n
\
nil (means key is undefined in this keymap),
\n
\
a command (a Lisp function suitable for interactive calling)
\n
\
...
...
@@ -913,6 +915,8 @@ DEFUN ("global-set-key", Fglobal_set_key, Sglobal_set_key, 2, 2,
"Give KEY a global binding as COMMAND.
\n
\
COMMAND is a symbol naming an interactively-callable function.
\n
\
KEY is a key sequence (a string or vector of characters or event types).
\n
\
Non-ASCII characters with codes above 127 (such as ISO Latin-1)
\n
\
can be included if you use a vector.
\n
\
Note that if KEY has a local binding in the current buffer
\n
\
that local binding will continue to shadow any global binding."
)
(
keys
,
function
)
...
...
@@ -931,6 +935,8 @@ DEFUN ("local-set-key", Flocal_set_key, Slocal_set_key, 2, 2,
"Give KEY a local binding as COMMAND.
\n
\
COMMAND is a symbol naming an interactively-callable function.
\n
\
KEY is a key sequence (a string or vector of characters or event types).
\n
\
Non-ASCII characters with codes above 127 (such as ISO Latin-1)
\n
\
can be included if you use a vector.
\n
\
The binding goes in the current buffer's local map,
\n
\
which is shared with other buffers in the same major mode."
)
(
keys
,
function
)
...
...
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