X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/84eb0351d8be4811897c8cf62a69757ff5d14001..df7774be39af76d3072a0278ef815a47bf50dfe9:/lisp/echistory.el?ds=sidebyside diff --git a/lisp/echistory.el b/lisp/echistory.el index 1d2c5d8a38..644c5f485d 100644 --- a/lisp/echistory.el +++ b/lisp/echistory.el @@ -1,9 +1,9 @@ ;;; echistory.el --- Electric Command History Mode -;; Copyright (C) 1985, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1985, 2001-2016 Free Software Foundation, Inc. ;; Author: K. Shane Hartman -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; This file is part of GNU Emacs. @@ -27,6 +27,9 @@ (require 'electric) ; command loop (require 'chistory) ; history lister +;; Dynamically bound in electric-command-history +(defvar electric-history-in-progress) + ;;;###autoload (defun Electric-command-history-redo-expression (&optional noconfirm) "Edit current history line in minibuffer and execute result. @@ -85,6 +88,8 @@ With prefix arg NOCONFIRM, execute current line as-is without editing." (defvar electric-command-history-hook nil "If non-nil, its value is called by `electric-command-history'.") +(defvar Helper-return-blurb) ; from helper.el + (defun electric-command-history () "\\Major mode for examining and redoing commands from `command-history'. This pops up a window with the Command History listing. @@ -112,7 +117,6 @@ The Command History listing is recomputed each time this mode is invoked." (save-window-excursion (list-command-history) (set-buffer "*Command History*") - (Command-history-setup) (setq major-mode 'electric-command-history) (setq mode-name "Electric History") (use-local-map electric-history-map))