help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [External] : Re: require (was: Re: Hooks in minor modes)


From: Emanuel Berg
Subject: Re: FW: [External] : Re: require (was: Re: Hooks in minor modes)
Date: Sat, 01 May 2021 00:17:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams wrote:

>> And why is everything nil??? :)
>
> Looks to me like everything is mil, not nil?

?

> and mil is not defined as a variable.

Yes but I don't want to define nil as a variable, is that even
possible? well if it is a stupid idea even so, no I want to
set the VARIABLE to nil!

> Maybe a typo, and you meant to write nil?

??????

>    ev3-monitor.el:7:1:
>      Error: Symbol's value as variable is void: mil

Here is the file in its entirety. 7th line refers to somewhere
else which I'm sure also has the nil problem!

;;; -*- lexical-binding: t -*-
;;;
;;; this file:
;;;   http://user.it.uu.se/~embe8573/terror-3/ev3-color-monitor.el
;;;   https://dataswamp.org/~incal/terror-3/ev3-color-monitor.el

(require 'ev3-color-names)
(require 'ev3-color-value)

(defun color-monitor ()
  (interactive)
  (format "amb: %d%%   color: %s   ref: %d%%   rgb: %s"
          (color-get-ambient)
          (color-number-and-name (color-get-color))
          (color-get-reflect)
          (color-get-rgb) ))

(provide 'ev3-color-monitor)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]