Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9f5c7ace
Commit
9f5c7ace
authored
Nov 15, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(line): Add a beginning-op function.
parent
e57d8da0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
lisp/thingatpt.el
lisp/thingatpt.el
+8
-0
No files found.
lisp/thingatpt.el
View file @
9f5c7ace
...
...
@@ -106,6 +106,14 @@ bounds-of-thing-at-point."
;;=== Special cases =======================================================
;;--- Lines ---
;; bolp will be false when you click on the last line in the buffer
;; and it has no final newline.
(
put
'line
'beginning-op
(
function
(
lambda
()
(
if
(
bolp
)
(
forward-line
-1
)
(
beginning-of-line
)))))
;;--- Sexps ---
(
defun
in-string-p
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment