Move some URLs to SOURCE properties
This commit is contained in:
parent
0836515690
commit
9a92b7b061
@ -356,8 +356,9 @@ ARG will be passed down verbatim to `self-insert-command'"
|
||||
#+END_SRC
|
||||
|
||||
*** Fill or unfill a paragraph
|
||||
|
||||
From http://pages.sachachua.com/.emacs.d/Sacha.html
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://pages.sachachua.com/.emacs.d/Sacha.html
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun sachachua/fill-or-unfill-paragraph (&optional unfill region)
|
||||
@ -370,8 +371,9 @@ From http://pages.sachachua.com/.emacs.d/Sacha.html
|
||||
#+END_SRC
|
||||
|
||||
*** Swap occurences of strings
|
||||
|
||||
Copied from http://emacs.stackexchange.com/a/27170/507
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://emacs.stackexchange.com/a/27170/507
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun so/query-swap-strings (from-string
|
||||
@ -456,8 +458,9 @@ line first. Then jump to the actual end of the line."
|
||||
** File manipulation
|
||||
|
||||
*** Rename the current file
|
||||
|
||||
Copied from http://whattheemacsd.com/file-defuns.el-01.html
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://whattheemacsd.com/file-defuns.el-01.html
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun rename-current-buffer-file ()
|
||||
@ -481,8 +484,9 @@ Copied from http://whattheemacsd.com/file-defuns.el-01.html
|
||||
#+END_SRC
|
||||
|
||||
*** Delete the current file
|
||||
|
||||
Copied from http://whattheemacsd.com/file-defuns.el-02.html
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://whattheemacsd.com/file-defuns.el-02.html
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun delete-current-buffer-file ()
|
||||
@ -571,11 +575,12 @@ name."
|
||||
** Frame manipulation
|
||||
|
||||
*** Hidden modeline mode
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://emacs-doctor.com/emacs-strip-tease.html
|
||||
:END:
|
||||
|
||||
To temporarily hide the mode line.
|
||||
|
||||
Copied from http://emacs-doctor.com/emacs-strip-tease.html
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defvar hidden-mode-line-mode nil)
|
||||
(defvar hide-mode-line nil)
|
||||
@ -846,11 +851,12 @@ HTML.
|
||||
#+END_SRC
|
||||
|
||||
** Utility functions for EDiff
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://article.gmane.org/gmane.emacs.orgmode/75222
|
||||
:END:
|
||||
|
||||
EDiff and Org-mode files don’t play nice together
|
||||
|
||||
From [[http://article.gmane.org/gmane.emacs.orgmode/75222][gmane.emacs.orgmode]]
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun f-ediff-org-showhide (buf command &rest cmdargs)
|
||||
"If buffer BUF exists and in `org-mode', execute COMMAND with CMDARGS."
|
||||
@ -874,8 +880,9 @@ From [[http://article.gmane.org/gmane.emacs.orgmode/75222][gmane.emacs.orgmode]]
|
||||
#+END_SRC
|
||||
|
||||
** Leave ~isearch~ at the other end of the matched string
|
||||
|
||||
Taken from [[http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html][endless parentheses]]
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun isearch-exit-other-end ()
|
||||
@ -887,8 +894,9 @@ Taken from [[http://endlessparentheses.com/leave-the-cursor-at-start-of-match-af
|
||||
#+END_SRC
|
||||
|
||||
** Mark the current match after leaving ~isearch~
|
||||
|
||||
Taken from [[http://emacs.stackexchange.com/a/31321/507][here]].
|
||||
:PROPERTIES:
|
||||
:SOURCE: http://emacs.stackexchange.com/a/31321/507
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun isearch-exit-mark-match ()
|
||||
|
Loading…
Reference in New Issue
Block a user