[Top][All Lists]

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

Re: A few questions about desktop.el

From: Juanma Barranquero
Subject: Re: A few questions about desktop.el
Date: Fri, 22 Jul 2005 15:50:44 +0200

On 7/22/05, Juanma Barranquero <address@hidden> wrote:

> instead of simply
>   (let ((special (cadr (assq minor-mode desktop-minor-mode-table))))
>     (when (or special (functionp minor-mode))
>       (add-to-list 'ret (or special minor-mode))))

My fault, for posting untested code. I meant:

  (let* ((special (assq minor-mode desktop-minor-mode-table))
         (value (cond (special (cadr special))
                      ((functionp minor-mode) minor-mode))))
    (when value (add-to-list 'ret value)))))


reply via email to

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