Skip to content

Commit 68ff178

Browse files
committed
Fix some warnings
1 parent e24e0a1 commit 68ff178

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

gnuplot.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ suggestions."
282282
(set sym value)
283283
(cond
284284
(value
285-
(add-hook 'gnuplot-mode-hook #'gnuplot-context-sensitive-mode nil nil)
286-
(add-hook 'gnuplot-comint-mode-hook #'gnuplot-context-sensitive-mode nil nil))
285+
(add-hook 'gnuplot-mode-hook 'gnuplot-context-sensitive-mode nil nil)
286+
(add-hook 'gnuplot-comint-mode-hook 'gnuplot-context-sensitive-mode nil nil))
287287
(t
288-
(remove-hook 'gnuplot-mode-hook #'gnuplot-context-sensitive-mode)
289-
(remove-hook 'gnuplot-comint-mode-hook #'gnuplot-context-sensitive-mode)))
288+
(remove-hook 'gnuplot-mode-hook 'gnuplot-context-sensitive-mode)
289+
(remove-hook 'gnuplot-comint-mode-hook 'gnuplot-context-sensitive-mode)))
290290
(dolist (buffer (buffer-list))
291291
(with-current-buffer buffer
292292
(when (and (derived-mode-p 'gnuplot-mode 'gnuplot-comint-mode)
@@ -376,7 +376,7 @@ non-nil."
376376
(let ((map (make-sparse-keymap)))
377377
(define-key map "\C-c\C-b" #'gnuplot-send-buffer-to-gnuplot)
378378
(define-key map "\C-c\C-c" #'comment-region) ; <RF>
379-
(define-key map "\C-c\C-o" #'gnuplot-gui-set-options-and-insert)
379+
(define-key map "\C-c\C-o" 'gnuplot-gui-set-options-and-insert)
380380
(define-key map "\C-c\C-e" #'gnuplot-show-gnuplot-buffer)
381381
(define-key map "\C-c\C-f" #'gnuplot-send-file-to-gnuplot)
382382
(define-key map "\C-c\C-d" #'gnuplot-info-lookup-symbol)
@@ -394,7 +394,7 @@ non-nil."
394394
(define-key map (kbd "}") #'gnuplot-electric-insert)
395395
(define-key map "\M-\r" #'completion-at-point)
396396
(define-key map "\M-\t" #'completion-at-point)
397-
(define-key map [S-mouse-2] #'gnuplot-gui-set-options-and-insert)
397+
(define-key map [S-mouse-2] 'gnuplot-gui-set-options-and-insert)
398398

399399
map))
400400

0 commit comments

Comments
 (0)