emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot d50c352b23 2/3: Fix a few warnings


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot d50c352b23 2/3: Fix a few warnings
Date: Tue, 13 Sep 2022 07:59:19 -0400 (EDT)

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

    Fix a few warnings
---
 gnuplot-context.el |  4 ++--
 gnuplot.el         | 11 ++++-------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/gnuplot-context.el b/gnuplot-context.el
index 1a0c31a014..859368faa5 100644
--- a/gnuplot-context.el
+++ b/gnuplot-context.el
@@ -2184,9 +2184,9 @@ command."
 
 ;;;###autoload
 (define-minor-mode gnuplot-context-sensitive-mode
-  "Use context-sensitive completion and help in gnuplot-mode.
+  "Use context-sensitive completion and help in `gnuplot-mode'.
 
-When context-sensitive mode is enabled, gnuplot-mode tries to
+When context-sensitive mode is enabled, `gnuplot-mode' tries to
 provide more useful completions and help suggestions for built-in
 keywords and functions by parsing each command as you type.  It
 attempts to take into account Gnuplot's many abbreviated
diff --git a/gnuplot.el b/gnuplot.el
index 55f3f1d6c0..210f2e8d1b 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -410,7 +410,7 @@ non-nil."
   :set #'gnuplot-set-display-mode)
 
 (defgroup gnuplot-faces nil
-  "Text faces used by gnuplot-mode."
+  "Text faces used by `gnuplot-mode'."
   :prefix "gnuplot-"
   :group 'gnuplot)
 
@@ -869,12 +869,10 @@ opening an argument-setting popup.")
                       gnuplot-insertions-bottom))
         (easy-menu-define gnuplot-mode-insertions-menu gnuplot-mode-map
           "Insertions menu used in Gnuplot-mode"
-          gnuplot-insertions-menu)
-        (easy-menu-add gnuplot-mode-insertions-menu gnuplot-mode-map)))
+          gnuplot-insertions-menu)))
   (easy-menu-define                     ; set up gnuplot menu
     gnuplot-mode-menu gnuplot-mode-map "Menu used in gnuplot-mode"
-    gnuplot-menu)
-  (easy-menu-add gnuplot-mode-menu gnuplot-mode-map))
+    gnuplot-menu))
 
 (defun gnuplot-mark-active ()
   "Return non-nil if the mark is active and it is not equal to point."
@@ -1414,8 +1412,7 @@ buffer."
   ;; Set up menu (see below)
   (easy-menu-define
     gnuplot-comint-mode-menu gnuplot-comint-mode-map "Menu used in 
gnuplot-comint-mode"
-    gnuplot-comint-menu)
-  (easy-menu-add gnuplot-comint-mode-menu gnuplot-comint-mode-map))
+    gnuplot-comint-menu))
 
 ;; Key bindings for gnuplot-comint-mode
 (define-key gnuplot-comint-mode-map "\M-\C-p"   #'gnuplot-plot-from-comint)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]