[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot 09ff207 131/184: Remove un-needed `gnuplot-context
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot 09ff207 131/184: Remove un-needed `gnuplot-context-mode-p` function |
Date: |
Sun, 29 Aug 2021 11:03:30 -0400 (EDT) |
branch: elpa/gnuplot
commit 09ff2072955d54c296671f2e97e103cfd03f66ab
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Remove un-needed `gnuplot-context-mode-p` function
---
gnuplot.el | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/gnuplot.el b/gnuplot.el
index 419d8b7..a0616fb 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -819,9 +819,9 @@ non-nil."
,gnuplot-display-options-menu
["Contextual completion and help" gnuplot-context-sensitive-mode
:style toggle
- :selected (gnuplot-context-mode-p)]
+ :selected gnuplot-context-sensitive-mode]
["Echo area help (eldoc-mode)" eldoc-mode
- :active (gnuplot-context-mode-p)
+ :active gnuplot-context-sensitive-mode
:style toggle
:selected eldoc-mode]
"---"
@@ -831,10 +831,10 @@ non-nil."
["Keyword help" gnuplot-info-lookup-symbol
(or gnuplot-keywords gnuplot-keywords-pending)]
["Quick help for thing at point" gnuplot-help-function
- (gnuplot-context-mode-p)]
+ gnuplot-context-sensitive-mode]
["Info documentation on thing at point"
gnuplot-info-at-point
- (gnuplot-context-mode-p)]
+ gnuplot-context-sensitive-mode]
["Show gnuplot process buffer" gnuplot-show-gnuplot-buffer t]
["Set arguments at point" gnuplot-gui-set-options-and-insert
(fboundp 'gnuplot-gui-set-options-and-insert)]
@@ -850,10 +850,6 @@ non-nil."
)
"Menu for `gnuplot-mode'.")
-;; Disable or enable menu items that depend on gnuplot-context being
-;; loaded and enabled
-(defsubst gnuplot-context-mode-p ()
- (and (boundp 'gnuplot-context-sensitive-mode)
gnuplot-context-sensitive-mode))
;;; --- insertions variables and menus
@@ -2241,9 +2237,9 @@ buffer."
,gnuplot-display-options-menu
["Contextual completion and help" gnuplot-context-sensitive-mode
:style toggle
- :selected (gnuplot-context-mode-p)]
+ :selected gnuplot-context-sensitive-mode]
["Echo area help (eldoc-mode)" eldoc-mode
- :active (gnuplot-context-mode-p)
+ :active gnuplot-context-sensitive-mode
:style toggle
:selected eldoc-mode]
"---"
@@ -2252,10 +2248,10 @@ buffer."
["Keyword help" gnuplot-info-lookup-symbol
(or gnuplot-keywords gnuplot-keywords-pending)]
["Quick help for thing at point" gnuplot-help-function
- (gnuplot-context-mode-p)]
+ gnuplot-context-sensitive-mode]
["Info documentation on thing at point"
gnuplot-info-at-point
- (gnuplot-context-mode-p)]
+ gnuplot-context-sensitive-mode]
["Switch to recent gnuplot script buffer" gnuplot-pop-to-recent-buffer
(buffer-live-p gnuplot-comint-recent-buffer)]
"---"
- [nongnu] elpa/gnuplot 58a1cf5 024/184: Fixed horrible bug in gnuplot-in-string/gnuplot-in-comment, (continued)
- [nongnu] elpa/gnuplot 58a1cf5 024/184: Fixed horrible bug in gnuplot-in-string/gnuplot-in-comment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 0d9c0af 025/184: Better method for scanning strings/comments., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 84933f0 029/184: Allow single quoted strings to include '' as an escape for ', ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c97f028 078/184: use a defsubst instead of defmacro in debug-context, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f710394 057/184: Add keys C-M-x (evaluate region) and C-j (evaluate line and newline), ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 54f3882 070/184: Silence another compiler warning by using with-current-buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 35f3f8d 080/184: Avoid having text syntax-property changes mark buffer as modified, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot fdd3e1e 101/184: * README.org: update installation section for el-get users., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 35a8a19 108/184: Check for `syntax-propertize-function' when defining syntax-table, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 4cd89ab 109/184: Replace ad-hoc scanning with syntax-propertize-rules, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 09ff207 131/184: Remove un-needed `gnuplot-context-mode-p` function,
ELPA Syncer <=
- [nongnu] elpa/gnuplot d6f8598 121/184: Cleanup inline-image mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a885233 124/184: Cleanup workaround for window-full-height-p, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 99c3855 130/184: Move gnuplot-context-sensitive-mode into gnuplot.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 2ec49e9 139/184: Update GitHub url, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 4b267b8 146/184: Merge pull request #44 from conao3/change-license, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 4d04c86 150/184: remove weird char, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 8f2ddd0 148/184: untabify, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot fcf5f4b 160/184: [WIP] Start removing Xemacs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e47e77e 155/184: Merge pull request #49 from conao3/fix-completion, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e6dc1f6 164/184: comint-process-echoes is buffer-local, ELPA Syncer, 2021/08/29