aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-09-29 17:24:14 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-09-29 17:24:14 +0100
commit4f984215e8c9ed2271864c78fb6bd762ba5b51b8 (patch)
tree85987c9b866deae8f0cf6a05a28c1b08b0033334 /Emacs/.config/emacs/config.org
parent075e048882486601bee8f50614d155587c01977b (diff)
downloaddotfiles-4f984215e8c9ed2271864c78fb6bd762ba5b51b8.tar.gz
dotfiles-4f984215e8c9ed2271864c78fb6bd762ba5b51b8.tar.bz2
dotfiles-4f984215e8c9ed2271864c78fb6bd762ba5b51b8.zip
(Emacs)-remove documentation for modded lisp indent function
Screws with backtangle, which I'd like to use more.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org20
1 files changed, 0 insertions, 20 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 2154c61..00a48cf 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1996,26 +1996,6 @@ appropriately.
("mapcar" . "∀")))
:config
(defun +modded/lisp-indent-function (indent-point state)
- "This function is the normal value of the variable `lisp-indent-function'.
-The function `calculate-lisp-indent' calls this to determine
-if the arguments of a Lisp function call should be indented specially.
-INDENT-POINT is the position at which the line being indented begins.
-Point is located at the point to indent under (for default indentation);
-STATE is the `parse-partial-sexp' state for that position.
-If the current line is in a call to a Lisp function that has a non-nil
-property `lisp-indent-function' (or the deprecated `lisp-indent-hook'),
-it specifies how to indent. The property value can be:
-,* `defun', meaning indent `defun'-style
- \(this is also the case if there is no property and the function
- has a name that begins with \"def\", and three or more arguments);
-,* an integer N, meaning indent the first N arguments specially
- (like ordinary function arguments), and then indent any further
- arguments like a body;
-,* a function to call that returns the indentation (or nil).
- `lisp-indent-function' calls this function with the same two arguments
- that it itself received.
-This function returns either the indentation to use, or nil if the
-Lisp function does not specify a special indentation."
(let ((normal-indent (current-column))
(orig-point (point)))
(goto-char (1+ (elt state 1)))