[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot 2dc71de 077/184: Move window-full-height-p up with
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot 2dc71de 077/184: Move window-full-height-p up with other compatibility hacks |
Date: |
Sun, 29 Aug 2021 11:03:19 -0400 (EDT) |
branch: elpa/gnuplot
commit 2dc71de16b30b21a48c0bd75f30b9a1971fed0d3
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Move window-full-height-p up with other compatibility hacks
- also check for (not (fboundp 'window-full-height-p)) instead
of (featurep 'xemacs)
---
gnuplot.el | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnuplot.el b/gnuplot.el
index 92a4e7c..65ca228 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -391,6 +391,16 @@ real work."
'(gnuplot-comint-complete)))
(comint-dynamic-complete))))
+;; Work around window-full-height-p
+(if (not (fboundp 'window-full-height-p))
+ ;; The below is taken from GNU Emacs window.el
+ (defun gnuplot-window-full-height-p (&optional window)
+ (unless window
+ (setq window (selected-window)))
+ (= (window-height window)
+ (window-height (frame-root-window (window-frame window)))))
+ (defalias 'gnuplot-window-full-height-p 'window-full-height-p))
+
;; Workaround for differing eval-after-load behavior
(defun gnuplot--run-after-load (fun)
(if (featurep 'gnuplot)
@@ -2883,15 +2893,6 @@ the frame."
(if gnuplot-xemacs-p (setq toolbar-info-frame
gnuplot-info-frame))
(switch-to-buffer "*info*"))))))
-;; XEmacs doesn't have window-full-height-p
-(if (featurep 'xemacs)
- ;; The below is taken from GNU Emacs window.el
- (defun gnuplot-window-full-height-p (&optional window)
- (unless window
- (setq window (selected-window)))
- (= (window-height window)
- (window-height (frame-root-window (window-frame window)))))
- (defalias 'gnuplot-window-full-height-p 'window-full-height-p))
(defun gnuplot-insert (string)
"Insert STRING at point and display help for for STRING.
- [nongnu] elpa/gnuplot 59f7a94 061/184: Better prompt tracking. Setup inline images on creating comint buffer., (continued)
- [nongnu] elpa/gnuplot 59f7a94 061/184: Better prompt tracking. Setup inline images on creating comint buffer., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 18dccc2 058/184: Merge branch 'context' into devel, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d4f8c3a 082/184: display progress while running parse tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 6da76ee 052/184: Merge branch 'devel', ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d26d498 062/184: Added a customization option for gnuplot-inline-image-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d70c94a 065/184: Better docstrings for context-sensitive and inline-image modes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 43effb0 068/184: Add gnuplot-context to makefiles., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f0b1ea7 085/184: Update lists of font-lock keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 70dd22e 060/184: Keyboard shortcut and menu item for toggling inline mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a0fee02 086/184: use `many1' for iteration spec, and tweak its test case, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 2dc71de 077/184: Move window-full-height-p up with other compatibility hacks,
ELPA Syncer <=
- [nongnu] elpa/gnuplot 3245468 084/184: Fixes to context-sensitive grammar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a290617 079/184: Make info window/frame handling work alike in context and non-context modes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot af7e8de 073/184: Remove references to obsolete kw-compl and hilit19 packages, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 630c945 093/184: Clean up build process to be closer to gnuplot source tree., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c827a90 090/184: Load gnuplot-eldoc only if needed, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot cabfc6c 088/184: fix annoying delay in indentation with blinking paren mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 327d564 091/184: Fix indentation: only outdent a maximum of one closing brace per line, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 7046fe1 092/184: Misc cleanup and documentation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a25b290 094/184: Update README for new release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 0134457 098/184: Add configure scripts, etc. back to repository for easier building, ELPA Syncer, 2021/08/29