emacs-diffs
[Top][All Lists]
Advanced

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

master 0273cb6: Fix a compilation warning.


From: Philipp Stephani
Subject: master 0273cb6: Fix a compilation warning.
Date: Fri, 1 Jan 2021 06:40:28 -0500 (EST)

branch: master
commit 0273cb61a4bb8a7ddd2dccf0d67d5da8c3da6a42
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Fix a compilation warning.
    
    ruby-mode uses 'cl-evenp' at runtime, so cl-lib must be available at
    runtime as well.
    
    * lisp/progmodes/ruby-mode.el (cl-lib): Require at runtime as well.
---
 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 5635bf1..9acd7b4 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -32,7 +32,7 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl-lib))
+(require 'cl-lib)
 
 (defgroup ruby nil
   "Major mode for editing Ruby code."



reply via email to

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