"Return string describing the version of Emerge.
When called interactively, displays the version."
(interactive)
- (if (interactive-p)
+ (if (called-interactively-p 'interactive)
(message "Emerge version %s" emacs-version)
emacs-version))
;; (save-excursion
;; (set-buffer standard-output)
;; (help-mode))
-;; (print-help-return-message)))
+;; (help-print-return-message)))
;; This goes with the redefinition of describe-mode.
;;;; Adjust things so that keyboard macro definitions are documented correctly.
(progn
(erase-buffer)
(insert name)
- (if (not (pos-visible-in-window-p))
- (while (and (not (pos-visible-in-window-p))
- (> (1- (frame-height)) (window-height)))
- (enlarge-window 1)))
+ (while (and (not (pos-visible-in-window-p))
+ (not (window-full-height-p)))
+ (enlarge-window 1))
(let* ((echo-keystrokes 0)
(c (read-event)))
(if (not (eq c 32))