]> code.delx.au - gnu-emacs/blobdiff - lisp/calc/calc-prog.el
(ido-enable-prefix): Improve previous doc fix.
[gnu-emacs] / lisp / calc / calc-prog.el
index 7bfb47ee61be4e1808ab80129b38f30881b45a8c..ea625c7a77ce0afa63508b225a446dae3cb72726 100644 (file)
@@ -1,6 +1,7 @@
 ;;; calc-prog.el --- user programmability functions for Calc
 
-;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004,
+;;   2005, 2006 Free Software Foundation, Inc.
 
 ;; Author: David Gillespie <daveg@synaptics.com>
 ;; Maintainer: Jay Belanger <belanger@truman.edu>
         (progn
           (setq cmd-base-default (concat "User-" keyname))
            (setq cmd (completing-read 
-                      (concat "Define M-x command name (default: calc-"
+                      (concat "Define M-x command name (default calc-"
                               cmd-base-default
                               "): ")
                       obarray 'commandp nil
           (setq func 
                  (concat "calcFunc-"
                          (completing-read 
-                          (concat "Define algebraic function name (default: "
+                          (concat "Define algebraic function name (default "
                                   cmd-base-default "): ")
                           (mapcar (lambda (x) (substring x 9))
                                   (all-completions "calcFunc-"
   (or last-kbd-macro
       (error "No keyboard macro defined"))
   (setq calc-invocation-macro last-kbd-macro)
-  (message "Use `M-# Z' to invoke this macro"))
+  (message "Use `C-x * Z' to invoke this macro"))
 
 (defun calc-user-define-edit ()
   (interactive)  ; but no calc-wrapper!
@@ -1457,7 +1458,7 @@ Redefine the corresponding command."
         (executing-kbd-macro nil)
         (msg (calc-top 1)))
     (if (not (eq (car-safe msg) 'vec))
-        (error "No prompt string provided on stack")
+        (error "No prompt string provided")
       (setq msg (math-vector-to-string msg))
       (calc-wrapper
        (calc-pop-stack 1)