X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/b8463f1d9273127cdc99bbe85b6b7d7322094da7..c4e4756f7fd9e0aeb45b49efb5e8ef85ac6ca565:/contrib/stgit.el diff --git a/contrib/stgit.el b/contrib/stgit.el index 31f36d7..ae74b46 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -9,6 +9,9 @@ ;; ;; To start: `M-x stgit' +(when (< emacs-major-version 22) + (error "Emacs older than 22 is not supported by stgit.el")) + (require 'git nil t) (require 'cl) (require 'ewoc) @@ -1453,7 +1456,7 @@ See also `stgit-show-worktree'." :group 'stgit) (defcustom stgit-default-show-worktree - nil + t "Set to non-nil to by default show the working tree in a new stgit buffer. This value is used as the default value for `stgit-show-worktree'."