##// END OF EJS Templates
mercurial.el: fix hg-chomp.
Bryan O'Sullivan -
r2999:e75fdc37 default
parent child Browse files
Show More
@@ -289,7 +289,7 b' XEmacs and GNU Emacs."'
289
289
290 (defsubst hg-chomp (str)
290 (defsubst hg-chomp (str)
291 "Strip trailing newlines from a string."
291 "Strip trailing newlines from a string."
292 (hg-replace-in-string str "[\r\n]+\'" ""))
292 (hg-replace-in-string str "[\r\n]+\\'" ""))
293
293
294 (defun hg-run-command (command &rest args)
294 (defun hg-run-command (command &rest args)
295 "Run the shell command COMMAND, returning (EXIT-CODE . COMMAND-OUTPUT).
295 "Run the shell command COMMAND, returning (EXIT-CODE . COMMAND-OUTPUT).
General Comments 0
You need to be logged in to leave comments. Login now