sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

Fix string quoting #39

Closed kaushalmodi closed 7 years ago

kaushalmodi commented 7 years ago

This matches the change made to text formatting and quoting styles in emacs 25.1.

From (elisp) Displaying Messages:

The ‘text-quoting-style’ variable controls what quotes are generated; *Note Keys in Documentation::. A call using a format like "Missing `%s'" with grave accents and apostrophes typically generates a message like "Missing ‘foo’" with matching curved quotes. In contrast, a call using a format like "Missing '%s'" with only apostrophes typically generates a message like "Missing ’foo’" with only closing curved quotes, an unusual style in English.

Now,

(message "Reverting `%s'..." "foo.el")

prints as:

Reverting ‘foo.el’...
sshaw commented 7 years ago

Interesting v25 feature. Thanks!