summaryrefslogtreecommitdiff
path: root/lisp/progmodes/idlwave.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:27:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:27:17 +0200
commitfdd388d311df2455806698f73d6a697866a4dce2 (patch)
treedff80805c95cb0f5c02548f300d481a39b2264f8 /lisp/progmodes/idlwave.el
parente6e59a349b5436a51a3f00caa33dfdfaaf424455 (diff)
downloademacs-fdd388d311df2455806698f73d6a697866a4dce2.tar.gz
emacs-fdd388d311df2455806698f73d6a697866a4dce2.tar.bz2
emacs-fdd388d311df2455806698f73d6a697866a4dce2.zip
Remove some compat code from idlwave.el
* lisp/progmodes/idlwave.el (idlwave-one-key-select): Remove check from fit-window-to-buffer, which always exists.
Diffstat (limited to 'lisp/progmodes/idlwave.el')
-rw-r--r--lisp/progmodes/idlwave.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index f7e53ec02d6..ab820d585d2 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -7007,8 +7007,7 @@ The key which is associated with each option is generated automatically.
First, the strings are checked for preselected keys, like in \"[P]rint\".
If these don't exist, a letter in the string is automatically selected."
(let* ((alist (symbol-value sym))
- (temp-buffer-show-hook (if (fboundp 'fit-window-to-buffer)
- '(fit-window-to-buffer)))
+ (temp-buffer-show-hook '(fit-window-to-buffer))
keys-alist char)
;; First check the cache
(if (and (eq (symbol-value sym) (get sym :one-key-alist-last)))