Commit 37b72bf5 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* (log-edit-show-diff): Error out if the diff function is not set.

parent 93a142e1
......@@ -435,7 +435,9 @@ If you want to abort the commit, simply delete the buffer."
(defun log-edit-show-diff ()
"Show the diff for the files to be committed."
(interactive)
(funcall log-edit-diff-function))
(if (functionp log-edit-diff-function)
(funcall log-edit-diff-function)
(error "Diff functionality has not been setup")))
(defun log-edit-show-files ()
"Show the list of files to be committed."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment