aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2011-10-23 22:56:59 -0400
committerStefan Monnier2011-10-23 22:56:59 -0400
commita3839de209ecd292b124b0818dbc60eaa654aa68 (patch)
tree11df166304cf5af70e1119aa4092e9a34585181b
parente782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d (diff)
downloademacs-a3839de209ecd292b124b0818dbc60eaa654aa68.tar.gz
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.
-rw-r--r--lisp/ChangeLog25
-rw-r--r--lisp/progmodes/octave-inf.el2
-rw-r--r--lisp/progmodes/octave-mod.el8
3 files changed, 16 insertions, 19 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8ceb3617176..acefb4f6f15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
4 * progmodes/octave-mod.el (octave-help): Remove.
5
12011-10-23 Michael Albinus <michael.albinus@gmx.de> 62011-10-23 Michael Albinus <michael.albinus@gmx.de>
2 7
3 Sync with Tramp 2.2.3. 8 Sync with Tramp 2.2.3.
@@ -16,16 +21,16 @@
16 for toggle-read-only. Note that this hasn't called vc-next-action 21 for toggle-read-only. Note that this hasn't called vc-next-action
17 since 2008-05-02, though it wasn't documented at the time. 22 since 2008-05-02, though it wasn't documented at the time.
18 23
19 * vc/ediff-init.el (ediff-toggle-read-only-function): Use 24 * vc/ediff-init.el (ediff-toggle-read-only-function):
20 toggle-read-only. 25 Use toggle-read-only.
21 26
222011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org> 272011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
23 28
24 Fix bug #9560, sporadic wrong indentation; improve instrumentation 29 Fix bug #9560, sporadic wrong indentation; improve instrumentation
25 of c-parse-state. 30 of c-parse-state.
26 31
27 * cc-engine.el (c-append-lower-brace-pair-to-state-cache): correct 32 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
28 faulty logical expression. 33 correct faulty logical expression.
29 (c-parse-state-state, c-record-parse-state-state): 34 (c-parse-state-state, c-record-parse-state-state):
30 (c-replay-parse-state-state): New defvar/defuns. 35 (c-replay-parse-state-state): New defvar/defuns.
31 (c-debug-parse-state): Use new functions. 36 (c-debug-parse-state): Use new functions.
@@ -39,8 +44,8 @@
39 44
40 * progmodes/idlwave.el (idlwave-mode): 45 * progmodes/idlwave.el (idlwave-mode):
41 * progmodes/vera-mode.el (vera-mode): No need to set 46 * progmodes/vera-mode.el (vera-mode): No need to set
42 require-final-newline; that's done in prog-mode. Suggested by 47 require-final-newline; that's done in prog-mode.
43 Stefan Monnier. 48 Suggested by Stefan Monnier.
44 49
452011-10-21 Martin Rudalics <rudalics@gmx.at> 502011-10-21 Martin Rudalics <rudalics@gmx.at>
46 51
@@ -61,8 +66,8 @@
612011-10-21 Chong Yidong <cyd@gnu.org> 662011-10-21 Chong Yidong <cyd@gnu.org>
62 67
63 * progmodes/idlwave.el (idlwave-mode): 68 * progmodes/idlwave.el (idlwave-mode):
64 * progmodes/vera-mode.el (vera-mode): Use 69 * progmodes/vera-mode.el (vera-mode):
65 mode-require-final-newline. 70 Use mode-require-final-newline.
66 71
672011-10-20 Glenn Morris <rgm@gnu.org> 722011-10-20 Glenn Morris <rgm@gnu.org>
68 73
@@ -198,8 +203,8 @@
198 (global-whitespace-mode, global-whitespace-newline-mode): 203 (global-whitespace-mode, global-whitespace-newline-mode):
199 * xt-mouse.el (xterm-mouse-mode): Doc fix. 204 * xt-mouse.el (xterm-mouse-mode): Doc fix.
200 205
201 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix 206 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
202 autogenerated docstring. 207 Fix autogenerated docstring.
203 208
2042011-10-19 Juri Linkov <juri@jurta.org> 2092011-10-19 Juri Linkov <juri@jurta.org>
205 210
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\")."
68 (define-key map "\C-c\C-l" 'inferior-octave-dynamic-list-input-ring) 68 (define-key map "\C-c\C-l" 'inferior-octave-dynamic-list-input-ring)
69 (define-key map [menu-bar inout list-history] 69 (define-key map [menu-bar inout list-history]
70 '("List Input History" . inferior-octave-dynamic-list-input-ring)) 70 '("List Input History" . inferior-octave-dynamic-list-input-ring))
71 (define-key map "\C-c\C-h" 'octave-help) 71 (define-key map "\C-c\C-h" 'info-lookup-symbol)
72 map) 72 map)
73 "Keymap used in Inferior Octave mode.") 73 "Keymap used in Inferior Octave mode.")
74 74
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."
655 655
656 (easy-menu-add octave-mode-menu) 656 (easy-menu-add octave-mode-menu)
657 (octave-initialize-completions)) 657 (octave-initialize-completions))
658
659(defvar info-lookup-mode)
660
661(defun octave-help ()
662 "Get help on Octave symbols from the Octave info files.
663Look up symbol in the function, operator and variable indices of the info files."
664 (let ((info-lookup-mode 'octave-mode))
665 (call-interactively 'info-lookup-symbol)))
666 658
667;;; Miscellaneous useful functions 659;;; Miscellaneous useful functions
668 660