diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-10-23 22:56:59 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-10-23 22:56:59 -0400 |
commit | a3839de209ecd292b124b0818dbc60eaa654aa68 (patch) | |
tree | 11df166304cf5af70e1119aa4092e9a34585181b /lisp/progmodes | |
parent | e782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d (diff) | |
download | emacs-a3839de209ecd292b124b0818dbc60eaa654aa68.tar.gz emacs-a3839de209ecd292b124b0818dbc60eaa654aa68.tar.bz2 emacs-a3839de209ecd292b124b0818dbc60eaa654aa68.zip |
* lisp/progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
* lisp/progmodes/octave-mod.el (octave-help): Remove.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/octave-inf.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/octave-mod.el | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el index cb64b2436c6..e9d890c3f26 100644 --- a/lisp/progmodes/octave-inf.el +++ b/lisp/progmodes/octave-inf.el @@ -68,7 +68,7 @@ mode, set this to (\"-q\" \"--traditional\")." (define-key map "\C-c\C-l" 'inferior-octave-dynamic-list-input-ring) (define-key map [menu-bar inout list-history] '("List Input History" . inferior-octave-dynamic-list-input-ring)) - (define-key map "\C-c\C-h" 'octave-help) + (define-key map "\C-c\C-h" 'info-lookup-symbol) map) "Keymap used in Inferior Octave mode.") diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index 183347cdeca..5e13b8533e7 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el @@ -655,14 +655,6 @@ including a reproducible test case and send the message." (easy-menu-add octave-mode-menu) (octave-initialize-completions)) - -(defvar info-lookup-mode) - -(defun octave-help () - "Get help on Octave symbols from the Octave info files. -Look up symbol in the function, operator and variable indices of the info files." - (let ((info-lookup-mode 'octave-mode)) - (call-interactively 'info-lookup-symbol))) ;;; Miscellaneous useful functions |