diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-09-16 04:12:21 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-09-16 04:12:21 +0200 |
commit | b0bf8168a361a2cda7a180adf0791c782ebe933b (patch) | |
tree | 6cce135a517467167ce38a468ae863b5402c90bc /skels | |
parent | 906f87de8b37a59e752915e596486e31698f5f9f (diff) | |
download | elibs-b0bf8168a361a2cda7a180adf0791c782ebe933b.tar.gz elibs-b0bf8168a361a2cda7a180adf0791c782ebe933b.tar.bz2 |
Haskell skeleton
Diffstat (limited to 'skels')
-rw-r--r-- | skels/haskell-skel.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/skels/haskell-skel.el b/skels/haskell-skel.el index e105f31..8ea0301 100644 --- a/skels/haskell-skel.el +++ b/skels/haskell-skel.el @@ -1,5 +1,5 @@ ;;; haskell-skel.el --- skeleton for haskell source files -;; Copyright (C) 2003, 2004, 2005, 2009, 2010 Jose A Ortega Ruiz +;; Copyright (C) 2003, 2004, 2005, 2009, 2010, 2012 Jose A Ortega Ruiz ;; Author: Jose A Ortega Ruiz <jao@member.fsf.org> ;; Keywords: languages @@ -31,7 +31,8 @@ ;;; Auxiliar (defun jao-skel--read-haskell-module () (let* ((ddir (jao-relative-path "\\.cabal\\'")) - (mbase (and ddir (concat (replace-in-string ddir "/" ".") "."))) + (mbase (and ddir (concat (replace-regexp-in-string "/" "." ddir) + "."))) (m (read-string "Module prefix (empty for no module): " (concat (or mbase "") (jao-basename))))) (or m ""))) |