@@ -488,7 +488,7 @@ Argument FILE-NAME ."
488
488
(defun elixir-mode-compile-file ()
489
489
" Elixir mode compile and save current file."
490
490
(interactive )
491
- (elixir-deprecated-message- compile-file)
491
+ (elixir-deprecated-use-alchemist " elixir-mode- compile-file" )
492
492
(let ((compiler-output (shell-command-to-string (elixir-mode-command-compile (buffer-file-name )))))
493
493
(when (string= compiler-output " " )
494
494
(message " Compiled and saved as %s " (elixir-mode-compiled-file-name)))))
@@ -510,15 +510,15 @@ Argument FILE-NAME ."
510
510
" Elixir mode interactive REPL.
511
511
Optional argument ARGS-P ."
512
512
(interactive " P" )
513
- (elixir-deprecated-message-iex)
514
513
(let ((switches (if (equal args-p nil )
515
514
'()
516
515
(split-string (read-string " Additional args: " )))))
517
516
(unless (comint-check-proc " *IEX*" )
518
517
(set-buffer
519
518
(apply 'make-comint " IEX"
520
519
elixir-iex-command nil switches))))
521
- (pop-to-buffer " *IEX*" ))
520
+ (pop-to-buffer " *IEX*" )
521
+ (elixir-deprecated-use-alchemist " elixir-mode-iex" ))
522
522
523
523
;;;### autoload
524
524
(defun elixir-mode-open-modegithub ()
@@ -600,6 +600,7 @@ just return nil."
600
600
Argument BEG Start of the region.
601
601
Argument END End of the region."
602
602
(interactive (list (point ) (mark )))
603
+ (elixir-deprecated-use-alchemist " elixir-mode-eval-on-region" )
603
604
(unless (and beg end)
604
605
(error " The mark is not set now, so there is no region " ))
605
606
(let* ((region (buffer-substring-no-properties beg end)))
@@ -608,12 +609,14 @@ Argument END End of the region."
608
609
(defun elixir-mode-eval-on-current-line ()
609
610
" Evaluate the Elixir code on the current line."
610
611
(interactive )
612
+ (elixir-deprecated-use-alchemist " elixir-mode-eval-on-current-line" )
611
613
(let ((current-line (thing-at-point 'line )))
612
614
(elixir-mode--eval-string current-line)))
613
615
614
616
(defun elixir-mode-eval-on-current-buffer ()
615
617
" Evaluate the Elixir code on the current buffer."
616
618
(interactive )
619
+ (elixir-deprecated-use-alchemist " elixir-mode-eval-on-current-buffer" )
617
620
(let ((current-buffer (buffer-substring-no-properties (point-max ) (point-min ))))
618
621
(elixir-mode--eval-string current-buffer)))
619
622
@@ -622,6 +625,7 @@ Argument END End of the region."
622
625
Argument BEG Start of the region.
623
626
Argument END End of the region."
624
627
(interactive (list (point ) (mark )))
628
+ (elixir-deprecated-use-alchemist " elixir-mode-string-to-quoted-on-region" )
625
629
(unless (and beg end)
626
630
(error " The mark is not set now, so there is no region " ))
627
631
(let ((region (buffer-substring-no-properties beg end)))
@@ -630,6 +634,7 @@ Argument END End of the region."
630
634
(defun elixir-mode-string-to-quoted-on-current-line ()
631
635
" Get the representation of the expression on the current line."
632
636
(interactive )
637
+ (elixir-deprecated-use-alchemist " elixir-mode-string-to-quoted-on-current-line" )
633
638
(let ((current-line (thing-at-point 'line )))
634
639
(elixir-mode--string-to-quoted current-line)))
635
640
0 commit comments