[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18059: 24.3.92; defvar and special variables
From: |
Noam Postavsky |
Subject: |
bug#18059: 24.3.92; defvar and special variables |
Date: |
Wed, 21 Feb 2018 11:33:05 -0500 |
On Wed, Feb 21, 2018 at 11:23 AM, Noam Postavsky <npostavs@gmail.com> wrote:
> On Wed, Feb 21, 2018 at 11:08 AM, Drew Adams <drew.adams@oracle.com> wrote:
>>> Seriously though, I honestly can't see much use for a non-toplevel
>>> defvar. Can you point to any examples?
>>
>> Seriously?
>>
>> (when (> emacs-major-version 24)
>> (defvar foo 42 "The answer."))
>>
>> (when (fboundp 'fooness)
>> (let ((the_answer (fooness)))
>> (defvar foo the_answer "The answer.")))
>
> I meant real life examples.
Also, to clarify, I meant specifically non-toplevel (defvar foo), not
(defvar foo <value>).
- bug#18059: 24.3.92; defvar and special variables, (continued)
- bug#18059: 24.3.92; defvar and special variables, Noam Postavsky, 2018/02/13
- bug#18059: 24.3.92; defvar and special variables, Noam Postavsky, 2018/02/18
- bug#18059: 24.3.92; defvar and special variables, Michael Heerdegen, 2018/02/18
- bug#18059: 24.3.92; defvar and special variables, Noam Postavsky, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Drew Adams, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Noam Postavsky, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables,
Noam Postavsky <=
- bug#18059: 24.3.92; defvar and special variables, Drew Adams, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Noam Postavsky, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Drew Adams, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Stefan Monnier, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Michael Heerdegen, 2018/02/21
- bug#18059: 24.3.92; defvar and special variables, Stefan Monnier, 2018/02/23
- bug#18059: 24.3.92; defvar and special variables, Michael Heerdegen, 2018/02/23
- bug#18059: 24.3.92; defvar and special variables, Drew Adams, 2018/02/21
bug#18059: 24.3.92; defvar and special variables, Eli Zaretskii, 2018/02/11