summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-14 16:36:53 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-14 16:36:53 +0200
commit88650223f7bd0b952efd577b71575d07df48d76e (patch)
tree6a5bfca552721d5053198f92ac9b0550b49f5bbf
parent972f17e822bd8fe6e97a6d837155cf60d6af79fd (diff)
Remove my/fix-sentence.
-rw-r--r--init.org8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.org b/init.org
index 9b64940..d858395 100644
--- a/init.org
+++ b/init.org
@@ -1532,14 +1532,6 @@ Position the cursor at its beginning, according to the current mode."
(global-set-key [(shift return)] 'my/smart-open-line)
-(defun my/fix-sentence (arg)
- "Add space to the end of a sentence."
- (interactive "p")
- (let ((sentence-end-double-space nil))
- (loop for i from 1 to arg do
- (forward-sentence 1)
- (insert " "))))
-
;; http://stackoverflow.com/a/18814469/519736
(defun my/copy-buffer-file-name (choice)
"Copy the buffer-file-name to the kill-ring"