diff options
Diffstat (limited to 'lisp/ledger-exec.el')
-rw-r--r-- | lisp/ledger-exec.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ledger-exec.el b/lisp/ledger-exec.el index cd5c11a0..8902d839 100644 --- a/lisp/ledger-exec.el +++ b/lisp/ledger-exec.el @@ -1,6 +1,6 @@ ;;; ledger-exec.el --- Helper code for use with the "ledger" command-line tool -;; Copyright (C) 2003-2014 John Wiegley (johnw AT gnu DOT org) +;; Copyright (C) 2003-2015 John Wiegley (johnw AT gnu DOT org) ;; This file is not part of GNU Emacs. @@ -36,7 +36,7 @@ :group 'ledger) (defcustom ledger-mode-should-check-version t - "Should Ledger-mode verify that the executable is working" + "Should Ledger-mode verify that the executable is working?" :type 'boolean :group 'ledger-exec) @@ -53,6 +53,7 @@ (setq buffer-read-only t))) (defun ledger-exec-success-p (ledger-output-buffer) + "Return t if the ledger output in LEDGER-OUTPUT-BUFFER is successful." (with-current-buffer ledger-output-buffer (goto-char (point-min)) (if (and (> (buffer-size) 1) (looking-at (regexp-quote "While"))) |