Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e8974c48
Commit
e8974c48
authored
Mar 25, 2011
by
Drew Adams
Committed by
Leo Liu
Mar 25, 2011
Browse files
Add support for defun in thingatpt.el
parent
1149507c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/thingatpt.el
lisp/thingatpt.el
+6
-0
No files found.
lisp/ChangeLog
View file @
e8974c48
2011-03-24 Drew Adams <drew.adams@oracle.com>
* thingatpt.el: Support `defun'.
2011-03-23 Leo Liu <sdl.web@gmail.com>
* abbrevlist.el: Move to obsolete/abbrevlist.el.
...
...
lisp/thingatpt.el
View file @
e8974c48
...
...
@@ -207,6 +207,12 @@ a symbol as a valid THING."
(
cons
opoint
end
))))
(
error
nil
)))))
;; Defuns
(
put
'defun
'beginning-op
'beginning-of-defun
)
(
put
'defun
'end-op
'end-of-defun
)
(
put
'defun
'forward-op
'end-of-defun
)
;; Filenames and URLs www.com/foo%32bar
(
defvar
thing-at-point-file-name-chars
"-~/[:alnum:]_.${}#%,:"
...
...
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