diff options
| author | Glenn Morris | 2013-09-17 22:19:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-17 22:19:28 -0700 |
| commit | 12679bfd15020087eca82df8dcb5df2c48bcef02 (patch) | |
| tree | ec4ce4f8e2fcd6504d58f9242dfa247056d1fd04 | |
| parent | 30810a057cc36f9374cef60c615e3a66c8e40c4a (diff) | |
| download | emacs-12679bfd15020087eca82df8dcb5df2c48bcef02.tar.gz emacs-12679bfd15020087eca82df8dcb5df2c48bcef02.zip | |
* progmodes/gud.el (gud-mode): Silence --without-x compilation.
(tooltip-mode): Declare.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9c9d400f438..abe2ed75ad0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -20,7 +20,9 @@ | |||
| 20 | * mail/rmailmm.el (rmail-mime-set-bulk-data): | 20 | * mail/rmailmm.el (rmail-mime-set-bulk-data): |
| 21 | Silence --without-x compilation. | 21 | Silence --without-x compilation. |
| 22 | 22 | ||
| 23 | * progmodes/gud.el (gud-find-file): Silence --without-x compilation. | 23 | * progmodes/gud.el (gud-find-file, gud-mode): |
| 24 | Silence --without-x compilation. | ||
| 25 | (tooltip-mode): Declare. | ||
| 24 | 26 | ||
| 25 | * wdired.el (dired-backup-overwrite): Remove declaration. | 27 | * wdired.el (dired-backup-overwrite): Remove declaration. |
| 26 | (wdired-mode-map): Add doc string. | 28 | (wdired-mode-map): Add doc string. |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index c03c64b21ad..14f6aa154d7 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -321,7 +321,7 @@ Uses `gud-<MINOR-MODE>-directories' to find the source files." | |||
| 321 | ;; Copy `gud-minor-mode' to the found buffer to turn on the menu. | 321 | ;; Copy `gud-minor-mode' to the found buffer to turn on the menu. |
| 322 | (with-current-buffer buf | 322 | (with-current-buffer buf |
| 323 | (setq-local gud-minor-mode minor-mode) | 323 | (setq-local gud-minor-mode minor-mode) |
| 324 | (if (boundp 'tool-bar-map) | 324 | (if (boundp 'tool-bar-map) ; not --without-x |
| 325 | (setq-local tool-bar-map gud-tool-bar-map)) | 325 | (setq-local tool-bar-map gud-tool-bar-map)) |
| 326 | (when (and gud-tooltip-mode | 326 | (when (and gud-tooltip-mode |
| 327 | (eq gud-minor-mode 'gdbmi)) | 327 | (eq gud-minor-mode 'gdbmi)) |
| @@ -2482,7 +2482,8 @@ comint mode, which see." | |||
| 2482 | (setq mode-line-process '(":%s")) | 2482 | (setq mode-line-process '(":%s")) |
| 2483 | (define-key (current-local-map) "\C-c\C-l" 'gud-refresh) | 2483 | (define-key (current-local-map) "\C-c\C-l" 'gud-refresh) |
| 2484 | (set (make-local-variable 'gud-last-frame) nil) | 2484 | (set (make-local-variable 'gud-last-frame) nil) |
| 2485 | (set (make-local-variable 'tool-bar-map) gud-tool-bar-map) | 2485 | (if (boundp 'tool-bar-map) ; not --without-x |
| 2486 | (setq-local tool-bar-map gud-tool-bar-map)) | ||
| 2486 | (make-local-variable 'comint-prompt-regexp) | 2487 | (make-local-variable 'comint-prompt-regexp) |
| 2487 | ;; Don't put repeated commands in command history many times. | 2488 | ;; Don't put repeated commands in command history many times. |
| 2488 | (set (make-local-variable 'comint-input-ignoredups) t) | 2489 | (set (make-local-variable 'comint-input-ignoredups) t) |
| @@ -3282,6 +3283,8 @@ Treats actions as defuns." | |||
| 3282 | 3283 | ||
| 3283 | ;;; Customizable settings | 3284 | ;;; Customizable settings |
| 3284 | 3285 | ||
| 3286 | (defvar tooltip-mode) | ||
| 3287 | |||
| 3285 | ;;;###autoload | 3288 | ;;;###autoload |
| 3286 | (define-minor-mode gud-tooltip-mode | 3289 | (define-minor-mode gud-tooltip-mode |
| 3287 | "Toggle the display of GUD tooltips. | 3290 | "Toggle the display of GUD tooltips. |