diff options
| author | Stefan Kangas | 2022-12-16 08:33:47 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-16 08:33:47 +0100 |
| commit | b52d0147e9ef7900f4fc07e8c2bf816b1a4ae145 (patch) | |
| tree | b71d8df1c46ad0ecd4ae4ac9a68d641bd6d0d513 | |
| parent | 0c4ca9f007c773bb45cc6070bbffb643c830040b (diff) | |
| download | emacs-b52d0147e9ef7900f4fc07e8c2bf816b1a4ae145.tar.gz emacs-b52d0147e9ef7900f4fc07e8c2bf816b1a4ae145.zip | |
Fix typo in rcirc function name
* lisp/net/rcirc.el (rcirc-format-strike-through): Rename from
'rcirc-format-strike-trough'. Make old name into obsolete
function alias. Update all uses.
| -rw-r--r-- | lisp/net/rcirc.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 7d4f275dc9b..81a572250af 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -1396,10 +1396,10 @@ inserted." | |||
| 1396 | (interactive "P") | 1396 | (interactive "P") |
| 1397 | (rcirc-format "\^_" replace)) | 1397 | (rcirc-format "\^_" replace)) |
| 1398 | 1398 | ||
| 1399 | (defun rcirc-format-strike-trough (replace) | 1399 | (defun rcirc-format-strike-through (replace) |
| 1400 | "Insert strike-trough formatting. | 1400 | "Insert strike-through formatting. |
| 1401 | If REPLACE is non-nil or a prefix argument is given, any prior | 1401 | If REPLACE is non-nil or a prefix argument is given, any prior |
| 1402 | formatting will be replaced before the strike-trough formatting | 1402 | formatting will be replaced before the strike-through formatting |
| 1403 | is inserted." | 1403 | is inserted." |
| 1404 | (interactive "P") | 1404 | (interactive "P") |
| 1405 | (rcirc-format "\^^" replace)) | 1405 | (rcirc-format "\^^" replace)) |
| @@ -1421,7 +1421,7 @@ inserted." | |||
| 1421 | "C-c C-f C-b" #'rcirc-format-bold | 1421 | "C-c C-f C-b" #'rcirc-format-bold |
| 1422 | "C-c C-f C-i" #'rcirc-format-italic | 1422 | "C-c C-f C-i" #'rcirc-format-italic |
| 1423 | "C-c C-f C-u" #'rcirc-format-underline | 1423 | "C-c C-f C-u" #'rcirc-format-underline |
| 1424 | "C-c C-f C-s" #'rcirc-format-strike-trough | 1424 | "C-c C-f C-s" #'rcirc-format-strike-through |
| 1425 | "C-c C-f C-f" #'rcirc-format-fixed-width | 1425 | "C-c C-f C-f" #'rcirc-format-fixed-width |
| 1426 | "C-c C-f C-t" #'rcirc-format-fixed-width ;as in AucTeX | 1426 | "C-c C-f C-t" #'rcirc-format-fixed-width ;as in AucTeX |
| 1427 | "C-c C-f C-d" #'rcirc-unformat | 1427 | "C-c C-f C-d" #'rcirc-unformat |
| @@ -1807,7 +1807,7 @@ extracted." | |||
| 1807 | "C-c C-f C-b" #'rcirc-format-bold | 1807 | "C-c C-f C-b" #'rcirc-format-bold |
| 1808 | "C-c C-f C-i" #'rcirc-format-italic | 1808 | "C-c C-f C-i" #'rcirc-format-italic |
| 1809 | "C-c C-f C-u" #'rcirc-format-underline | 1809 | "C-c C-f C-u" #'rcirc-format-underline |
| 1810 | "C-c C-f C-s" #'rcirc-format-strike-trough | 1810 | "C-c C-f C-s" #'rcirc-format-strike-through |
| 1811 | "C-c C-f C-f" #'rcirc-format-fixed-width | 1811 | "C-c C-f C-f" #'rcirc-format-fixed-width |
| 1812 | "C-c C-f C-t" #'rcirc-format-fixed-width ;as in AucTeX | 1812 | "C-c C-f C-t" #'rcirc-format-fixed-width ;as in AucTeX |
| 1813 | "C-c C-f C-d" #'rcirc-unformat | 1813 | "C-c C-f C-d" #'rcirc-unformat |
| @@ -4004,6 +4004,9 @@ PROCESS is the process object for the current connection." | |||
| 4004 | (string-equal (downcase (car setting)) parameter)) | 4004 | (string-equal (downcase (car setting)) parameter)) |
| 4005 | return (cadr setting))) | 4005 | return (cadr setting))) |
| 4006 | 4006 | ||
| 4007 | (define-obsolete-function-alias 'rcirc-format-strike-trough | ||
| 4008 | 'rcirc-format-strike-through "30.1") | ||
| 4009 | |||
| 4007 | (provide 'rcirc) | 4010 | (provide 'rcirc) |
| 4008 | 4011 | ||
| 4009 | ;;; rcirc.el ends here | 4012 | ;;; rcirc.el ends here |