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
6d0be292
Commit
6d0be292
authored
May 26, 2005
by
Lute Kamstra
Browse files
Use run-mode-hooks in example.
(term-mode): Use run-mode-hooks.
parent
3851a30d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/term.el
lisp/term.el
+2
-2
No files found.
lisp/term.el
View file @
6d0be292
...
...
@@ -1102,7 +1102,7 @@ Entry to this mode runs the hooks on `term-mode-hook'."
(
make-local-variable
'term-current-face
)
(
make-local-variable
'term-pending-frame
)
(
setq
term-pending-frame
nil
)
(
run-hooks
'term-mode-hook
)
(
run-
mode-
hooks
'term-mode-hook
)
(
term-if-xemacs
(
set-buffer-menubar
(
append
current-menubar
(
list
term-terminal-menu
))))
...
...
@@ -4179,7 +4179,7 @@ the process. Any more args are arguments to PROGRAM."
;;; (make-local-variable 'shell-directory-stack)
;;; (setq shell-directory-stack nil)
;;; (add-hook 'term-input-filter-functions 'shell-directory-tracker)
;;; (run-hooks 'shell-mode-hook))
;;; (run-
mode-
hooks 'shell-mode-hook))
;;;
;;;
;;; Completion for term-mode users
...
...
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