You probably know this by now, but as + is a primitive function implemented in C, it is not wise to try to redefine or advise it. Though normal functions will see the new definition, other primitive functions will still call the underlying + directly.
Dogs and cats, living together.
Search found 3 matches
Search found 3 matches • Page 1 of 1
Good explanation, but there's a minor distinction when it comes to emacs lisp that one doesn't notice much in typical use. If you want to access the function associated with a symbol when the reference would otherwise select the data, preface the symbol with pound-tick: #'SYMBOL. That's true for com...
- Sat Aug 18, 2012 11:28 pm
- Forum: Emacs Lisp
- Topic: What is the elisp idiom for do until end of buffer?
- Replies: 1
- Views: 6623
search-forward will throw an error by default if the string is not found. This will throw control out of your function which isn't catching errors. To use search-forward in a loop it is best to set the NOERROR argument to t: (while (search-forward "\t" nil t) ...) The documentation for end-of-line s...