Remove visit-init-file and visit-org-index

This commit is contained in:
Gergely Polonkai 2023-10-20 15:46:29 +02:00
parent 23b8a3a2ac
commit ebcaf1c6da
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -669,24 +669,6 @@ name."
(find-file tramp-path)))) (find-file tramp-path))))
#+END_SRC #+END_SRC
*** Open my own ~init.el~
#+BEGIN_SRC emacs-lisp
(defun gpolonkai/visit-init-file ()
"Open the init file."
(interactive)
(find-file-other-window (expand-file-name "configuration.org" user-emacs-directory)))
#+END_SRC
*** Open my Org-mode index file
#+BEGIN_SRC emacs-lisp
(defun gpolonkai/visit-org-index ()
"Visit the root of Org-mode notes."
(interactive)
(find-file-other-window (expand-file-name "index.org" org-directory)))
#+END_SRC
** Frame manipulation ** Frame manipulation
*** Hidden modeline mode *** Hidden modeline mode
@ -3860,8 +3842,6 @@ directory. It is available from [[http://plantuml.com/download][here]].
("h" . hidden-mode-line-mode) ("h" . hidden-mode-line-mode)
("C-i e" . "gergely@polonkai.eu") ("C-i e" . "gergely@polonkai.eu")
("C-i w" . "http://gergely.polonkai.eu/") ("C-i w" . "http://gergely.polonkai.eu/")
("o i" . gpolonkai/visit-init-file)
("o o" . gpolonkai/visit-org-index)
("u" . browse-url-at-point) ("u" . browse-url-at-point)
("M-C" . clean-buffer-list) ("M-C" . clean-buffer-list)
("C-c" . calc) ("C-c" . calc)