branch: elpa/gnuplot
commit e7c85fdb8b753d98931710dbebcbe06e95565424
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Remove unusual M-RET keybinding for completion-at-point, use M-TAB instead
---
 README.org | 34 +++++++++++++++++-----------------
 gnuplot.el |  2 --
 2 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/README.org b/README.org
index 480924e54b..db94a6cb95 100644
--- a/README.org
+++ b/README.org
@@ -49,23 +49,23 @@ are useful for starting up gnuplot-mode:
 
 When =gnuplot-mode= is on, the following keybindings are available:
 
-| C-c C-l        | send current line to gnuplot                         |
-| C-c C-v        | send current line to gnuplot and move forward 1 line |
-| C-c C-r        | send current region to gnuplot                       |
-| C-c C-b        | send entire buffer to gnuplot                        |
-| C-c C-f        | send a file to gnuplot                               |
-| C-c C-i        | insert filename at point                             |
-| C-c C-n        | negate set option on current line                    |
-| C-c C-c        | comment region                                       |
-| C-c C-o        | set arguments for command at point                   |
-| S-mouse-2      | set arguments for command under mouse cursor         |
-| C-c C-d        | read the gnuplot info file                           |
-| C-c C-e        | show-gnuplot-buffer                                  |
-| C-c C-k        | kill gnuplot process                                 |
-| C-c C-z        | customize gnuplot-mode                               |
-| M-tab or M-ret | complete keyword before point                        |
-| ret            | newline and indent                                   |
-| tab            | indent current line                                  |
+| C-c C-l   | send current line to gnuplot                         |
+| C-c C-v   | send current line to gnuplot and move forward 1 line |
+| C-c C-r   | send current region to gnuplot                       |
+| C-c C-b   | send entire buffer to gnuplot                        |
+| C-c C-f   | send a file to gnuplot                               |
+| C-c C-i   | insert filename at point                             |
+| C-c C-n   | negate set option on current line                    |
+| C-c C-c   | comment region                                       |
+| C-c C-o   | set arguments for command at point                   |
+| S-mouse-2 | set arguments for command under mouse cursor         |
+| C-c C-d   | read the gnuplot info file                           |
+| C-c C-e   | show-gnuplot-buffer                                  |
+| C-c C-k   | kill gnuplot process                                 |
+| C-c C-z   | customize gnuplot-mode                               |
+| M-tab     | complete keyword before point                        |
+| ret       | newline and indent                                   |
+| tab       | indent current line                                  |
 
 
 With the exception of the commands for sending commands to Gnuplot,
diff --git a/gnuplot.el b/gnuplot.el
index b3ef526d08..da10116bd8 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -391,7 +391,6 @@ non-nil."
     (define-key map "\C-c\C-z"    #'gnuplot-customize)
     (define-key map "\C-i"        #'indent-for-tab-command)
     (define-key map (kbd "}")     #'gnuplot-electric-insert)
-    (define-key map "\M-\r"       #'completion-at-point)
     (define-key map "\M-\t"       #'completion-at-point)
     (define-key map [S-mouse-2]   'gnuplot-gui-set-options-and-insert)
 
@@ -1362,7 +1361,6 @@ buffer."
 (define-key gnuplot-comint-mode-map "\M-\C-p"   #'gnuplot-plot-from-comint)
 (define-key gnuplot-comint-mode-map "\M-\C-f"   
#'gnuplot-save-and-plot-from-comint)
 (define-key gnuplot-comint-mode-map "\C-d"      #'gnuplot-delchar-or-maybe-eof)
-(define-key gnuplot-comint-mode-map "\M-\r"     #'completion-at-point)
 (define-key gnuplot-comint-mode-map "\M-\t"     #'completion-at-point)
 (define-key gnuplot-comint-mode-map "\C-c\C-d"  #'gnuplot-info-lookup-symbol)
 (define-key gnuplot-comint-mode-map "\C-c\C-i"  #'gnuplot-insert-filename)

Reply via email to