]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some compat code from idlwave.el
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:27:17 +0000 (11:27 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:27:17 +0000 (11:27 +0200)
* lisp/progmodes/idlwave.el (idlwave-one-key-select): Remove check
from fit-window-to-buffer, which always exists.

lisp/progmodes/idlwave.el

index f7e53ec02d6649d302076480918217e1e0147001..ab820d585d2e647992d3e9ab1386bb58a4f242e4 100644 (file)
@@ -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)))