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

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

bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode


From: Stefan Monnier
Subject: bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'.
Date: Fri, 24 Oct 2014 18:51:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> --- a/lisp/textmodes/tildify.el
> +++ b/lisp/textmodes/tildify.el
> @@ -86,17 +86,29 @@ mode, the item for the mode SYMBOL is looked up in the 
> alist instead."
>                                         (integer :tag "Group "))
>                                 (symbol :tag "Like other")))))
> 
> +(defcustom hard-space-string nil

As long as it's in tildify.el it should have a "tildify-" prefix.

> but now compilation fails with:

> textmodes/tex-mode.el:1210:15:Warning: assignment to free variable
>     `hard-space-string'

That's not a failure, just a warning.

> Requiring tildify in tex-mode (and other affected modes) seems a bit of
> an overkill.  Am I doing something stupid here?

No, you're doing it right.  You should just add a (defvar
hard-space-string) to tex-mode.el to silence the compiler warning.


        Stefan





reply via email to

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