diff options
| author | Chong Yidong | 2009-11-21 20:18:37 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-11-21 20:18:37 +0000 |
| commit | ab2c15d4e2d992556854dc7e8d650d2280101a93 (patch) | |
| tree | 28f536c8d95bd0ffab9a8cf2773b1647bdb49126 /lisp/cedet | |
| parent | 8b571bf3080b3a15870a4992e7c06500661b38e0 (diff) | |
| download | emacs-ab2c15d4e2d992556854dc7e8d650d2280101a93.tar.gz emacs-ab2c15d4e2d992556854dc7e8d650d2280101a93.zip | |
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-jump-local, semantic-complete-jump): Improve
prompt string.
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/semantic/complete.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 657bc4752b9..58453ec223c 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el | |||
| @@ -224,7 +224,7 @@ HISTORY is a symbol representing a variable to story the history in." | |||
| 224 | (if (string-match ":" prompt) | 224 | (if (string-match ":" prompt) |
| 225 | (setq prompt (concat | 225 | (setq prompt (concat |
| 226 | (substring prompt 0 (match-beginning 0)) | 226 | (substring prompt 0 (match-beginning 0)) |
| 227 | " (" default-as-string ")" | 227 | " (default " default-as-string ")" |
| 228 | (substring prompt (match-beginning 0)))) | 228 | (substring prompt (match-beginning 0)))) |
| 229 | (setq prompt (concat prompt " (" default-as-string "): ")))) | 229 | (setq prompt (concat prompt " (" default-as-string "): ")))) |
| 230 | ;; | 230 | ;; |
| @@ -1976,7 +1976,7 @@ completion works." | |||
| 1976 | (defun semantic-complete-jump-local () | 1976 | (defun semantic-complete-jump-local () |
| 1977 | "Jump to a semantic symbol." | 1977 | "Jump to a semantic symbol." |
| 1978 | (interactive) | 1978 | (interactive) |
| 1979 | (let ((tag (semantic-complete-read-tag-buffer-deep "Symbol: "))) | 1979 | (let ((tag (semantic-complete-read-tag-buffer-deep "Jump to symbol: "))) |
| 1980 | (when (semantic-tag-p tag) | 1980 | (when (semantic-tag-p tag) |
| 1981 | (push-mark) | 1981 | (push-mark) |
| 1982 | (goto-char (semantic-tag-start tag)) | 1982 | (goto-char (semantic-tag-start tag)) |
| @@ -1989,7 +1989,7 @@ completion works." | |||
| 1989 | (defun semantic-complete-jump () | 1989 | (defun semantic-complete-jump () |
| 1990 | "Jump to a semantic symbol." | 1990 | "Jump to a semantic symbol." |
| 1991 | (interactive) | 1991 | (interactive) |
| 1992 | (let* ((tag (semantic-complete-read-tag-project "Symbol: "))) | 1992 | (let* ((tag (semantic-complete-read-tag-project "Jump to symbol: "))) |
| 1993 | (when (semantic-tag-p tag) | 1993 | (when (semantic-tag-p tag) |
| 1994 | (push-mark) | 1994 | (push-mark) |
| 1995 | (semantic-go-to-tag tag) | 1995 | (semantic-go-to-tag tag) |