From 2a05c5dbd3eca91ef4b843d45f3e6868d28cdb33 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 10 Jun 2019 03:50:44 +0300 Subject: [PATCH] Omit the misplaced and unnecessary shyness qualifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lisp/progmodes/ruby-mode.el (ruby-find-library-file): Omit the misplaced and unnecessary shyness qualifier. Suggested by Mattias Engdegård . --- lisp/progmodes/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 80e809b9d63..8eadf018a67 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1814,7 +1814,7 @@ statement around point." (unless feature-name (let ((init (save-excursion (forward-line 0) - (when (looking-at "require [\"']\\(.?*\\)[\"']") + (when (looking-at "require [\"']\\(.*\\)[\"']") (match-string 1))))) (setq feature-name (read-string "Feature name: " init)))) (let ((out -- 2.39.2