aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <[email protected]>2009-07-16 08:25:21 +0000
committerYAMAMOTO Mitsuharu <[email protected]>2009-07-16 08:25:21 +0000
commit7653ca1dfb92b95764536957c7341e79c4efa898 (patch)
treecabb7c14514af00262007331ba9cfb29eceddff6 /lisp/term
parent042f7b692fcc3fe35af0b1afc0a85543440984f1 (diff)
(ns-set-alpha): Don't declare.
(ns-set-background-alpha): Remove function.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/ns-win.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 20056dab69..5830f438cc 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -1130,18 +1130,6 @@ The value may be different for frames on different Nextstep displays."
(setq defined-colors (cons this-color defined-colors))) ;;)
defined-colors))
-(declare-function ns-set-alpha "nsfns.m" (color alpha))
-
-;; Convenience and work-around for fact that set color fns now require named.
-(defun ns-set-background-alpha (alpha)
- "Sets ALPHA (opacity) of background.
-Set from 0.0 (fully transparent) to 1.0 (fully opaque; default).
-Note, tranparency works better on Tiger (10.4) and higher."
- (interactive "nSet background alpha to: ")
- (let ((bgcolor (cdr (assq 'background-color (frame-parameters)))))
- (set-frame-parameter (selected-frame)
- 'background-color (ns-set-alpha bgcolor alpha))))
-
;; Functions for color panel + drag
(defun ns-face-at-pos (pos)
(let* ((frame (car pos))