]> git.eshelyaron.com Git - emacs.git/commitdiff
Omit the misplaced and unnecessary shyness qualifier
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Jun 2019 00:50:44 +0000 (03:50 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Jun 2019 00:50:44 +0000 (03:50 +0300)
* lisp/progmodes/ruby-mode.el (ruby-find-library-file):
Omit the misplaced and unnecessary shyness qualifier.
Suggested by Mattias EngdegĂ„rd <mattiase@acm.org>.

lisp/progmodes/ruby-mode.el

index 80e809b9d639e7db95010a548a1df53b50ef1459..8eadf018a674ca35853afcd7228b3791d96fc81a 100644 (file)
@@ -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