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
3c8dd9b9
Commit
3c8dd9b9
authored
Jul 15, 2005
by
Juanma Barranquero
Browse files
(derived-mode-run-hooks): Reinstalled, as it is needed for pre-21 compatibility.
Thanks to Stefan Monnier for pointing this out.
parent
dc524e8b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+1
-2
lisp/emacs-lisp/derived.el
lisp/emacs-lisp/derived.el
+6
-0
No files found.
lisp/ChangeLog
View file @
3c8dd9b9
2005-07-15 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/derived.el (derived-mode-run-hooks): Remove.
(derived-mode-hook-name): Doc fix.
* emacs-lisp/derived.el (derived-mode-hook-name): Doc fix.
2005-07-14 Dan Nicolaescu <dann@ics.uci.edu>
...
...
lisp/emacs-lisp/derived.el
View file @
3c8dd9b9
...
...
@@ -382,6 +382,12 @@ Always merge its parent into it, since the merge is non-destructive."
(
derived-mode-merge-abbrev-tables
old-table
new-table
)
(
setq
local-abbrev-table
new-table
)))
(
defun
derived-mode-run-hooks
(
mode
)
"Run the mode hook for MODE."
(
let
((
hooks-name
(
derived-mode-hook-name
mode
)))
(
if
(
boundp
hooks-name
)
(
run-hooks
hooks-name
))))
;; Functions to merge maps and tables.
(
defun
derived-mode-merge-keymaps
(
old
new
)
...
...
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