refactor: Simplify ‘p4-lowlevel-command-into-buffer’

This commit is contained in:
Tom Willemse 2023-04-03 22:53:02 -07:00
parent 2fb2806708
commit dd6e57b1e5

View file

@ -352,8 +352,7 @@ that buffer. Returns the buffer."
(defun p4-lowlevel-command-messages () (defun p4-lowlevel-command-messages ()
"Return t if vc-command-messages bound and true. "Return t if vc-command-messages bound and true.
Fall back to the value of p4-lowlevel-command-messages." Fall back to the value of p4-lowlevel-command-messages."
(if (and (boundp 'vc-command-messages) vc-command-messages) (or (bound-and-true-p vc-command-messages)
t
p4-lowlevel-command-messages)) p4-lowlevel-command-messages))
(defun p4-lowlevel-canonicalize-revision (rev) (defun p4-lowlevel-canonicalize-revision (rev)