]> git.eshelyaron.com Git - emacs.git/commitdiff
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
authorChong Yidong <cyd@stupidchicken.com>
Sat, 21 Nov 2009 20:18:37 +0000 (20:18 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 21 Nov 2009 20:18:37 +0000 (20:18 +0000)
(semantic-complete-jump-local, semantic-complete-jump): Improve
prompt string.

lisp/ChangeLog
lisp/cedet/semantic/complete.el

index 9b95a93e451a4ea434947f29a541ccf47b3c80b3..f24fb9d370c98375e8d615a42aa86534c27bac16 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
+       (semantic-complete-jump-local, semantic-complete-jump): Improve
+       prompt string.
+
 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
 
        * cus-start.el (all): Add native condition for font-use-system-font.
index 657bc4752b9afc04a432fe7e87cc9b1206b1d764..58453ec223c098df75fe6f6f1523105b999ba733 100644 (file)
@@ -224,7 +224,7 @@ HISTORY is a symbol representing a variable to story the history in."
       (if (string-match ":" prompt)
          (setq prompt (concat
                        (substring prompt 0 (match-beginning 0))
-                       " (" default-as-string ")"
+                       " (default " default-as-string ")"
                        (substring prompt (match-beginning 0))))
        (setq prompt (concat prompt " (" default-as-string "): "))))
     ;;
@@ -1976,7 +1976,7 @@ completion works."
 (defun semantic-complete-jump-local ()
   "Jump to a semantic symbol."
   (interactive)
-  (let ((tag (semantic-complete-read-tag-buffer-deep "Symbol: ")))
+  (let ((tag (semantic-complete-read-tag-buffer-deep "Jump to symbol: ")))
     (when (semantic-tag-p tag)
       (push-mark)
       (goto-char (semantic-tag-start tag))
@@ -1989,7 +1989,7 @@ completion works."
 (defun semantic-complete-jump ()
   "Jump to a semantic symbol."
   (interactive)
-  (let* ((tag (semantic-complete-read-tag-project "Symbol: ")))
+  (let* ((tag (semantic-complete-read-tag-project "Jump to symbol: ")))
     (when (semantic-tag-p tag)
       (push-mark)
       (semantic-go-to-tag tag)