Skip to content

Commit d50c352

Browse files
committed
Fix a few warnings
1 parent d134129 commit d50c352

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

gnuplot-context.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,9 +2184,9 @@ command."
21842184

21852185
;;;###autoload
21862186
(define-minor-mode gnuplot-context-sensitive-mode
2187-
"Use context-sensitive completion and help in gnuplot-mode.
2187+
"Use context-sensitive completion and help in `gnuplot-mode'.
21882188
2189-
When context-sensitive mode is enabled, gnuplot-mode tries to
2189+
When context-sensitive mode is enabled, `gnuplot-mode' tries to
21902190
provide more useful completions and help suggestions for built-in
21912191
keywords and functions by parsing each command as you type. It
21922192
attempts to take into account Gnuplot's many abbreviated

gnuplot.el

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ non-nil."
410410
:set #'gnuplot-set-display-mode)
411411

412412
(defgroup gnuplot-faces nil
413-
"Text faces used by gnuplot-mode."
413+
"Text faces used by `gnuplot-mode'."
414414
:prefix "gnuplot-"
415415
:group 'gnuplot)
416416

@@ -869,12 +869,10 @@ opening an argument-setting popup.")
869869
gnuplot-insertions-bottom))
870870
(easy-menu-define gnuplot-mode-insertions-menu gnuplot-mode-map
871871
"Insertions menu used in Gnuplot-mode"
872-
gnuplot-insertions-menu)
873-
(easy-menu-add gnuplot-mode-insertions-menu gnuplot-mode-map)))
872+
gnuplot-insertions-menu)))
874873
(easy-menu-define ; set up gnuplot menu
875874
gnuplot-mode-menu gnuplot-mode-map "Menu used in gnuplot-mode"
876-
gnuplot-menu)
877-
(easy-menu-add gnuplot-mode-menu gnuplot-mode-map))
875+
gnuplot-menu))
878876

879877
(defun gnuplot-mark-active ()
880878
"Return non-nil if the mark is active and it is not equal to point."
@@ -1414,8 +1412,7 @@ buffer."
14141412
;; Set up menu (see below)
14151413
(easy-menu-define
14161414
gnuplot-comint-mode-menu gnuplot-comint-mode-map "Menu used in gnuplot-comint-mode"
1417-
gnuplot-comint-menu)
1418-
(easy-menu-add gnuplot-comint-mode-menu gnuplot-comint-mode-map))
1415+
gnuplot-comint-menu))
14191416

14201417
;; Key bindings for gnuplot-comint-mode
14211418
(define-key gnuplot-comint-mode-map "\M-\C-p" #'gnuplot-plot-from-comint)

0 commit comments

Comments
 (0)