aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2009-11-12 10:41:50 +0000
committerJuri Linkov2009-11-12 10:41:50 +0000
commite2685eb734e5ea37f223f97a2e80013deff2f5f1 (patch)
tree201eb9c485a9903d6ebe09834dca9fb3e1e21332
parent6d341a2a0941ec4cb3087636759017e9370f0c84 (diff)
downloademacs-e2685eb734e5ea37f223f97a2e80013deff2f5f1.tar.gz
emacs-e2685eb734e5ea37f223f97a2e80013deff2f5f1.zip
(ffap-alternate-file-other-window, ffap-literally): New functions.
(find-file-literally-at-point): Alias of `ffap-literally'.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/ffap.el16
2 files changed, 22 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 000d55ab89e..8354e117e76 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-11-12 Juri Linkov <juri@jurta.org>
2
3 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
4 New functions.
5 (find-file-literally-at-point): Alias of `ffap-literally'.
6
12009-11-12 Dan Nicolaescu <dann@ics.uci.edu> 72009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2 8
3 * textmodes/ispell.el (ispell-skip-region-alist): 9 * textmodes/ispell.el (ispell-skip-region-alist):
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 939b287c528..a0e0d411206 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1708,6 +1708,22 @@ Only intended for interactive use."
1708 (let ((ffap-file-finder 'find-alternate-file)) 1708 (let ((ffap-file-finder 'find-alternate-file))
1709 (call-interactively 'ffap))) 1709 (call-interactively 'ffap)))
1710 1710
1711(defun ffap-alternate-file-other-window ()
1712 "Like `ffap' and `find-alternate-file-other-window'.
1713Only intended for interactive use."
1714 (interactive)
1715 (let ((ffap-file-finder 'find-alternate-file-other-window))
1716 (call-interactively 'ffap)))
1717
1718(defun ffap-literally ()
1719 "Like `ffap' and `find-file-literally'.
1720Only intended for interactive use."
1721 (interactive)
1722 (let ((ffap-file-finder 'find-file-literally))
1723 (call-interactively 'ffap)))
1724
1725(defalias 'find-file-literally-at-point 'ffap-literally)
1726
1711 1727
1712;;; Bug Reporter: 1728;;; Bug Reporter:
1713 1729