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

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

bug#48681: Patch: Make prettify-symbols-mode work with ruby-mode


From: William Denton
Subject: bug#48681: Patch: Make prettify-symbols-mode work with ruby-mode
Date: Wed, 26 May 2021 13:26:03 -0400 (EDT)
User-agent: Alpine 2.22 (DEB 394 2020-01-19)

Hello,

Attached is a small patch that will make prettify-symbols-mode work in ruby-mode. It just adapts the code that's there for perl-mode, using some of the symbols from python-mode.

This is my first time submitting a patch, and I hope it and this commit message are close to what's needed:

# -----

Make prettify-symbols-mode work with ruby-mode

* lisp/progmodes/ruby.el
  (ruby--prettify-symbols-alist): New defvar with default symbols
  to prettify; prettify-symbols-alist is then set to this

# ------

My papers are signed and on file.

Thanks,

William Denton

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.

Attachment: prettify-ruby.patch
Description: Text Data


reply via email to

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