diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6661ee7d768..8bcf188a92b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2009-12-29 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | Declare some functions for the byte-compiler. | ||
| 4 | * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list) | ||
| 5 | (speedbar-timer-fn, speedbar-change-expand-button-char) | ||
| 6 | (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare. | ||
| 7 | |||
| 1 | 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu> | 8 | 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 9 | ||
| 3 | Make vc-dir work on subdirectories of the bzr root. | 10 | Make vc-dir work on subdirectories of the bzr root. |
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 6a8ca89cda5..2987e6680a9 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -852,6 +852,8 @@ With arg, enter name of variable to be watched in the minibuffer." | |||
| 852 | `(lambda () (gdb-var-create-handler ,expr))))))) | 852 | `(lambda () (gdb-var-create-handler ,expr))))))) |
| 853 | (message "gud-watch is a no-op in this mode.")))) | 853 | (message "gud-watch is a no-op in this mode.")))) |
| 854 | 854 | ||
| 855 | (declare-function speedbar-change-initial-expansion-list "speedbar" (new-default)) | ||
| 856 | |||
| 855 | (defun gdb-var-create-handler (expr) | 857 | (defun gdb-var-create-handler (expr) |
| 856 | (let* ((result (gdb-json-partial-output))) | 858 | (let* ((result (gdb-json-partial-output))) |
| 857 | (if (not (bindat-get-field result 'msg)) | 859 | (if (not (bindat-get-field result 'msg)) |
| @@ -874,6 +876,8 @@ With arg, enter name of variable to be watched in the minibuffer." | |||
| 874 | (speedbar-change-initial-expansion-list "GUD"))) | 876 | (speedbar-change-initial-expansion-list "GUD"))) |
| 875 | (message-box "No symbol \"%s\" in current context." expr)))) | 877 | (message-box "No symbol \"%s\" in current context." expr)))) |
| 876 | 878 | ||
| 879 | (declare-function speedbar-timer-fn "speedbar" ()) | ||
| 880 | |||
| 877 | (defun gdb-speedbar-update () | 881 | (defun gdb-speedbar-update () |
| 878 | (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame) | 882 | (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame) |
| 879 | (not (member 'gdb-speedbar-timer gdb-pending-triggers))) | 883 | (not (member 'gdb-speedbar-timer gdb-pending-triggers))) |
| @@ -1058,6 +1062,10 @@ Changed values are highlighted with the face `font-lock-warning-face'." | |||
| 1058 | :group 'gdb | 1062 | :group 'gdb |
| 1059 | :version "22.2") | 1063 | :version "22.2") |
| 1060 | 1064 | ||
| 1065 | (declare-function speedbar-change-expand-button-char "speedbar" (char)) | ||
| 1066 | (declare-function speedbar-delete-subblock "speedbar" (indent)) | ||
| 1067 | (declare-function speedbar-center-buffer-smartly "speedbar" ()) | ||
| 1068 | |||
| 1061 | (defun gdb-speedbar-expand-node (text token indent) | 1069 | (defun gdb-speedbar-expand-node (text token indent) |
| 1062 | "Expand the node the user clicked on. | 1070 | "Expand the node the user clicked on. |
| 1063 | TEXT is the text of the button we clicked on, a + or - item. | 1071 | TEXT is the text of the button we clicked on, a + or - item. |