From: Juanma Barranquero Date: Mon, 26 Sep 2005 09:41:32 +0000 (+0000) Subject: (org-table-sum): Fix format string. X-Git-Tag: emacs-pretest-22.0.90~6936 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7d9f1949feb233190499cd13dc101a1aed43771;p=emacs.git (org-table-sum): Fix format string. --- diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 938091d18eb..f10e546d00b 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -7064,7 +7064,7 @@ If NLAST is a number, only the NLAST fields will actually be summed." (format "%d:%02d:%02d" h m s)))) (kill-new sres) (if (interactive-p) - (message "s" + (message "%s" (substitute-command-keys (format "Sum of %d items: %-20s (\\[yank] will insert result into buffer)" (length numbers) sres)))) @@ -9587,7 +9587,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names." (if (fboundp 'command-remapping) (define-key map (vector 'remap old) new) (substitute-key-definition old new map global-map))))) - + (when (eq org-enable-table-editor 'optimized) ;; If the user wants maximum table support, we need to hijack ;; some standard editing functions