[Top][All Lists]

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

Re: [O] hiding footnotes

From: Jambunathan K
Subject: Re: [O] hiding footnotes
Date: Thu, 29 Nov 2012 11:54:19 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Jambunathan K <address@hidden> writes:

> Install the following defun, put the cursor on fontified text and do M-x
> toggle-face.
>     (defun toggle-face (&optional face-from)
>       (interactive (list (read-face-name "Face" (face-at-point))))
>       (let ((f (assq face-from face-remapping-alist))
>             (face-to 'default)) 
>         (if f (setq face-remapping-alist (delq f face-remapping-alist))
>           (push (cons face-from face-to) face-remapping-alist))))
> See also (info "(elisp) Face Remapping")

For the benefit of novice readers, you need to try M-x toggle-face RET
and M-x toggle-face RET twice in succession.

reply via email to

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