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
1
Issues
1
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
cf25c647
Commit
cf25c647
authored
Feb 10, 2006
by
Kim F. Storm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(substitute-key-definition-key): Pass t for NOERROR to
indirect-function instead of using condition-case.
parent
a7f96a35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lisp/subr.el
lisp/subr.el
+1
-2
No files found.
lisp/subr.el
View file @
cf25c647
...
...
@@ -607,8 +607,7 @@ For most uses, it is simpler and safer to use command remappping like this:
(
nconc
(
nreverse
skipped
)
newdef
)))
;; Look past a symbol that names a keymap.
(
setq
inner-def
(
and
defn
(
condition-case
nil
(
indirect-function
defn
)
(
error
defn
))))
(
or
(
indirect-function
defn
t
)
defn
))
;; For nested keymaps, we use `inner-def' rather than `defn' so as to
;; avoid autoloading a keymap. This is mostly done to preserve the
;; original non-autoloading behavior of pre-map-keymap times.
...
...
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