|
From: | Stefan Monnier |
Subject: | Re: trunk r115036: * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use |
Date: | Fri, 08 Nov 2013 14:04:57 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> + (case ruby-encoding-magic-comment-style >> + ('ruby "# coding: %s") >> + ('emacs "# -*- coding: %s -*-") >> + ('custom >> ruby-custom-encoding-magic-comment-template)))) This will use the first branch if ruby-encoding-magic-comment-style is `quote' (and the two other branches will also check to see if ruby-encoding-magic-comment-style is equal to `quote' tho that check will be redundant). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |