emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2a05c5d: Omit the misplaced and unnecessary shyness


From: Dmitry Gutov
Subject: [Emacs-diffs] master 2a05c5d: Omit the misplaced and unnecessary shyness qualifier
Date: Sun, 9 Jun 2019 20:51:05 -0400 (EDT)

branch: master
commit 2a05c5dbd3eca91ef4b843d45f3e6868d28cdb33
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Omit the misplaced and unnecessary shyness qualifier
    
    * lisp/progmodes/ruby-mode.el (ruby-find-library-file):
    Omit the misplaced and unnecessary shyness qualifier.
    Suggested by Mattias EngdegÄrd <address@hidden>.
---
 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 80e809b..8eadf01 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



reply via email to

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