aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero2013-05-08 17:06:28 +0200
committerJuanma Barranquero2013-05-08 17:06:28 +0200
commit5cb15713d8575fae940c9f177874ea98e5e7c7e0 (patch)
tree4fd987d372e0394c4afbb983ac0a2c32ad31550f /lisp
parent01e147a678cd684b2d4cb4ca54e846061d45afd9 (diff)
downloademacs-5cb15713d8575fae940c9f177874ea98e5e7c7e0.tar.gz
emacs-5cb15713d8575fae940c9f177874ea98e5e7c7e0.zip
Silence byte-compiler warnings.
* lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header): * lisp/faces.el (crm-separator): Silence byte-compiler. * lisp/progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode) (tool-bar-map): Remove unneeded defvars.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--lisp/faces.el2
-rw-r--r--lisp/progmodes/gud.el5
4 files changed, 13 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cd5d2f4ee61..119e46e52d8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12013-05-08 Juanma Barranquero <lekktu@gmail.com>
2
3 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4 * faces.el (crm-separator):
5 Silence byte-compiler.
6
7 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8 (tool-bar-map): Remove unneeded defvars.
9
12013-05-08 Leo Liu <sdl.web@gmail.com> 102013-05-08 Leo Liu <sdl.web@gmail.com>
2 11
3 Re-work a fix for bug#10994 based on Le Wang's patch. 12 Re-work a fix for bug#10994 based on Le Wang's patch.
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 755d5f716d3..0b00c038acc 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1978,7 +1978,7 @@ and will be removed soon. See (elisp)Backquote in the manual."))
1978 (widen) 1978 (widen)
1979 (delete-char delta)))) 1979 (delete-char delta))))
1980 1980
1981(defun byte-compile-insert-header (filename outbuffer) 1981(defun byte-compile-insert-header (_filename outbuffer)
1982 "Insert a header at the start of OUTBUFFER. 1982 "Insert a header at the start of OUTBUFFER.
1983Call from the source buffer." 1983Call from the source buffer."
1984 (let ((dynamic-docstrings byte-compile-dynamic-docstrings) 1984 (let ((dynamic-docstrings byte-compile-dynamic-docstrings)
diff --git a/lisp/faces.el b/lisp/faces.el
index 80f34d4569a..6225769d161 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -933,6 +933,8 @@ of the default face. Value is FACE."
933;;; Interactively modifying faces. 933;;; Interactively modifying faces.
934;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 934;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
935 935
936(defvar crm-separator) ; from crm.el
937
936(defun read-face-name (prompt &optional default multiple) 938(defun read-face-name (prompt &optional default multiple)
937 "Read one or more face names, prompting with PROMPT. 939 "Read one or more face names, prompting with PROMPT.
938PROMPT should not end in a space or a colon. 940PROMPT should not end in a space or a colon.
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 6076f88dea6..d5746a870cb 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -46,11 +46,8 @@
46(defvar gdb-show-changed-values) 46(defvar gdb-show-changed-values)
47(defvar gdb-source-window) 47(defvar gdb-source-window)
48(defvar gdb-var-list) 48(defvar gdb-var-list)
49(defvar gdb-speedbar-auto-raise)
50(defvar gud-tooltip-mode)
51(defvar hl-line-mode) 49(defvar hl-line-mode)
52(defvar hl-line-sticky-flag) 50(defvar hl-line-sticky-flag)
53(defvar tool-bar-map)
54 51
55 52
56;; ====================================================================== 53;; ======================================================================
@@ -3417,7 +3414,7 @@ With arg, dereference expr if ARG is positive, otherwise do not dereference."
3417; the tooltip incompletely and spill over into the gud buffer. 3414; the tooltip incompletely and spill over into the gud buffer.
3418; Switching the process-filter creates timing problems and 3415; Switching the process-filter creates timing problems and
3419; it may be difficult to do better. Using GDB/MI as in 3416; it may be difficult to do better. Using GDB/MI as in
3420; gdb-mi.el gets round this problem. 3417; gdb-mi.el gets around this problem.
3421(defun gud-tooltip-process-output (process output) 3418(defun gud-tooltip-process-output (process output)
3422 "Process debugger output and show it in a tooltip window." 3419 "Process debugger output and show it in a tooltip window."
3423 (remove-function (process-filter process) #'gud-tooltip-process-output) 3420 (remove-function (process-filter process) #'gud-tooltip-process-output)